Merge from gingerbread

Change-Id: I017330e0232b317b8bb54e19ab05874b18c83246
This commit is contained in:
Jean-Baptiste Queru 2011-01-30 15:35:06 -08:00
commit 9a73eb378f

View File

@ -775,6 +775,7 @@ int Thread::_threadLoop(void* user)
self->mLock.lock();
self->mRunning = false;
self->mThreadExitedCondition.broadcast();
self->mThread = thread_id_t(-1); // thread id could be reused
self->mLock.unlock();
break;
}