Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1314bdb2 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am e88fa50b: Merge from open-source gingerbread

* commit 'e88fa50b':
  fix failing thread object run
parents a1f5e82f e88fa50b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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;
        }
        }