Searched refs:tef (Results 1 – 6 of 6) sorted by relevance
595 inline void Thread::NotifyOnThreadExit(ThreadExitFlag* tef) { in NotifyOnThreadExit() argument596 DCHECK_EQ(tef->exited_, false); in NotifyOnThreadExit()598 tef->next_ = tlsPtr_.thread_exit_flags; in NotifyOnThreadExit()599 tlsPtr_.thread_exit_flags = tef; in NotifyOnThreadExit()600 if (tef->next_ != nullptr) { in NotifyOnThreadExit()601 DCHECK(!tef->next_->HasExited()); in NotifyOnThreadExit()602 tef->next_->prev_ = tef; in NotifyOnThreadExit()604 tef->prev_ = nullptr; in NotifyOnThreadExit()607 inline void Thread::UnregisterThreadExitFlag(ThreadExitFlag* tef) { in UnregisterThreadExitFlag() argument608 if (tef->HasExited()) { in UnregisterThreadExitFlag()[all …]
459 void WaitForFlipFunctionTestingExited(Thread* self, ThreadExitFlag* tef)618 mirror::Object* LockedGetPeerFromOtherThread(ThreadExitFlag* tef)628 ThreadExitFlag tef; in LockedGetPeerFromOtherThread() local629 NotifyOnThreadExit(&tef); in LockedGetPeerFromOtherThread()630 mirror::Object* result = LockedGetPeerFromOtherThread(&tef); in LockedGetPeerFromOtherThread()631 UnregisterThreadExitFlag(&tef); in LockedGetPeerFromOtherThread()767 void NotifyOnThreadExit(ThreadExitFlag* tef) REQUIRES(Locks::thread_list_lock_);768 void UnregisterThreadExitFlag(ThreadExitFlag* tef) REQUIRES(Locks::thread_list_lock_);1938 ThreadExitFlag* tef = nullptr,
1793 ThreadExitFlag* tef, in EnsureFlipFunctionStarted() argument1798 bool check_exited = (tef != nullptr); in EnsureFlipFunctionStarted()1817 if (tef->HasExited()) { in EnsureFlipFunctionStarted()1835 DCHECK(!check_exited || (Locks::thread_list_lock_->IsExclusiveHeld(self) && !tef->HasExited())); in EnsureFlipFunctionStarted()1915 void Thread::WaitForFlipFunctionTestingExited(Thread* self, ThreadExitFlag* tef) { in WaitForFlipFunctionTestingExited() argument1917 if (tef->HasExited()) { in WaitForFlipFunctionTestingExited()1936 if (tef->HasExited()) { in WaitForFlipFunctionTestingExited()2487 for (ThreadExitFlag* tef = tlsPtr_.thread_exit_flags; tef != nullptr; tef = next) { in SignalExitFlags() local2488 DCHECK(!tef->exited_); in SignalExitFlags()2489 tef->exited_ = true; in SignalExitFlags()[all …]
1058 ThreadExitFlag tef; in SuspendThread() local1060 thread->NotifyOnThreadExit(&tef); in SuspendThread()1107 exited = tef.HasExited(); in SuspendThread()1109 thread->UnregisterThreadExitFlag(&tef); in SuspendThread()
185 art::ThreadExitFlag* tef = &*i++; in GetThreads() local186 art::ObjPtr<art::mirror::Object> peer = t->LockedGetPeerFromOtherThread(tef); in GetThreads()187 if (peer != nullptr && !tef->HasExited() && !t->IsStillStarting() && in GetThreads()191 t->UnregisterThreadExitFlag(tef); in GetThreads()
659 art::ThreadExitFlag* tef = &*i++; in GetAllThreads() local661 if (!tef->HasExited() && !thread->IsStillStarting()) { in GetAllThreads()663 art::ObjPtr<art::mirror::Object> peer = thread->LockedGetPeerFromOtherThread(tef); in GetAllThreads()668 thread->UnregisterThreadExitFlag(tef); in GetAllThreads()