am 25503f1c: Merge from gingerbread

* commit '25503f1c9f0b5f718052b71dc5b21d1c8576d015':
  fix failing thread object run
This commit is contained in:
Jean-Baptiste Queru
2011-01-30 16:07:25 -08:00
committed by Android Git Automerger

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