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