Loading libs/utils/Threads.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -799,6 +799,9 @@ void Thread::requestExit() status_t Thread::requestExitAndWait() { // hold a reference so mThreadExitedCondition is not destroyed before wait() returns sp<Thread> strong(mHoldSelf); if (mThread == getThreadId()) { LOGW( "Thread (this=%p): don't call waitForExit() from this " Loading Loading
libs/utils/Threads.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -799,6 +799,9 @@ void Thread::requestExit() status_t Thread::requestExitAndWait() { // hold a reference so mThreadExitedCondition is not destroyed before wait() returns sp<Thread> strong(mHoldSelf); if (mThread == getThreadId()) { LOGW( "Thread (this=%p): don't call waitForExit() from this " Loading