Lines Matching refs:reason
676 SuspendReason reason) { in SuspendAllInternal() argument
706 if (reason == SuspendReason::kForDebugger) { in SuspendAllInternal()
716 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); in SuspendAllInternal()
831 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() argument
837 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; in Resume()
856 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { in Resume()
892 SuspendReason reason, in SuspendThreadByPeer() argument
920 reason); in SuspendThreadByPeer()
947 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
983 reason); in SuspendThreadByPeer()
1012 SuspendReason reason, in SuspendThreadByThreadId() argument
1057 bool updated = thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByThreadId()
1089 bool updated = thread->ModifySuspendCount(soa.Self(), -1, nullptr, reason); in SuspendThreadByThreadId()