• Home
  • Raw
  • Download

Lines Matching refs:Thread

41   if (Contains(Thread::Current())) {  in ~ThreadList()
51 bool ThreadList::Contains(Thread* thread) { in Contains()
70 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in DumpForSigQuit()
79 Thread::DumpState(os, NULL, tid); in DumpUnattachedThread()
95 Thread* self = Thread::Current(); in DumpUnattachedThreads()
122 void ThreadList::AssertThreadsAreSuspended(Thread* self, Thread* ignore1, Thread* ignore2) { in AssertThreadsAreSuspended()
129 << "self: <<" << *Thread::Current(); in AssertThreadsAreSuspended()
136 static void UnsafeLogFatalForThreadSuspendAllTimeout(Thread* self) NO_THREAD_SAFETY_ANALYSIS { in UnsafeLogFatalForThreadSuspendAllTimeout()
148 Thread* self = Thread::Current(); in RunCheckpoint()
156 std::vector<Thread*> suspended_count_modified_threads; in RunCheckpoint()
217 Thread::resume_cond_->Broadcast(self); in RunCheckpoint()
225 Thread* self = Thread::Current(); in SuspendAll()
269 Thread* self = Thread::Current(); in ResumeAll()
293 Thread::resume_cond_->Broadcast(self); in ResumeAll()
298 void ThreadList::Resume(Thread* thread, bool for_debugger) { in Resume()
299 Thread* self = Thread::Current(); in Resume()
318 Thread::resume_cond_->Broadcast(self); in Resume()
325 Thread* self = Thread::Current(); in SuspendAllForDebugger()
326 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendAllForDebugger()
367 Thread* self = Thread::Current(); in SuspendSelfForDebugger()
370 Thread* debug_thread = Dbg::GetDebugThread(); in SuspendSelfForDebugger()
395 Thread::resume_cond_->Wait(self); in SuspendSelfForDebugger()
412 Thread* self = Thread::Current(); in UndoDebuggerSuspensions()
433 Thread::resume_cond_->Broadcast(self); in UndoDebuggerSuspensions()
440 Thread* self = Thread::Current(); in WaitForOtherNonDaemonThreadsToExit()
466 Thread* self = Thread::Current(); in SuspendAllDaemonThreads()
499 void ThreadList::Register(Thread* self) { in Register()
500 DCHECK_EQ(self, Thread::Current()); in Register()
521 void ThreadList::Unregister(Thread* self) { in Unregister()
522 DCHECK_EQ(self, Thread::Current()); in Unregister()
551 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, NULL), "detach self"); in Unregister()
558 void ThreadList::ForEach(void (*callback)(Thread*, void*), void* context) { in ForEach() argument
565 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in VisitRoots()
572 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in VerifyRoots()
578 uint32_t ThreadList::AllocThreadId(Thread* self) { in AllocThreadId()
590 void ThreadList::ReleaseThreadId(Thread* self, uint32_t id) { in ReleaseThreadId()
597 Thread* ThreadList::FindThreadByThinLockId(uint32_t thin_lock_id) { in FindThreadByThinLockId()
598 MutexLock mu(Thread::Current(), *Locks::thread_list_lock_); in FindThreadByThinLockId()