Merge "fix failing thread object run" into gingerbread

This commit is contained in:
Jean-Baptiste Queru 2011-01-30 15:17:33 -08:00 committed by Android Code Review
commit 9b1515590c

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