am 1314bdb2: am e88fa50b: Merge from open-source gingerbread

* commit '1314bdb2b22ae3613c3e08ae278dbc70f90b965c':
  fix failing thread object run
This commit is contained in:
Jean-Baptiste Queru 2011-01-30 16:32:44 -08:00 committed by Android Git Automerger
commit d45c61dfcf

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;
}