Lines Matching refs:self
709 Thread* const self = static_cast<Thread*>(user); in _threadLoop() local
711 sp<Thread> strong(self->mHoldSelf); in _threadLoop()
713 self->mHoldSelf.clear(); in _threadLoop()
717 self->mTid = gettid(); in _threadLoop()
726 self->mStatus = self->readyToRun(); in _threadLoop()
727 result = (self->mStatus == OK); in _threadLoop()
729 if (result && !self->exitPending()) { in _threadLoop()
740 result = self->threadLoop(); in _threadLoop()
743 result = self->threadLoop(); in _threadLoop()
748 Mutex::Autolock _l(self->mLock); in _threadLoop()
749 if (result == false || self->mExitPending) { in _threadLoop()
750 self->mExitPending = true; in _threadLoop()
751 self->mRunning = false; in _threadLoop()
754 self->mThread = thread_id_t(-1); in _threadLoop()
757 self->mThreadExitedCondition.broadcast(); in _threadLoop()