Merge from open-source gingerbread

Change-Id: I56f2ed37187796807fbf0de15274a85164f9432c
This commit is contained in:
Jean-Baptiste Queru
2011-01-30 15:29:52 -08:00

View File

@@ -778,6 +778,7 @@ int Thread::_threadLoop(void* user)
// called by a new thread using the same thread ID as this one.
self->mThread = thread_id_t(-1);
self->mThreadExitedCondition.broadcast();
self->mThread = thread_id_t(-1); // thread id could be reused
self->mLock.unlock();
break;
}