Lines Matching refs:suspended_thread
629 Thread* suspended_thread = nullptr; in SuspendThreadByPeer() local
643 if (suspended_thread != nullptr) { in SuspendThreadByPeer()
648 suspended_thread->ModifySuspendCount(soa.Self(), -1, debug_suspension); in SuspendThreadByPeer()
654 CHECK(suspended_thread == nullptr); in SuspendThreadByPeer()
669 CHECK(suspended_thread == nullptr); in SuspendThreadByPeer()
670 suspended_thread = thread; in SuspendThreadByPeer()
671 suspended_thread->ModifySuspendCount(self, +1, debug_suspension); in SuspendThreadByPeer()
698 if (suspended_thread != nullptr) { in SuspendThreadByPeer()
699 CHECK_EQ(suspended_thread, thread); in SuspendThreadByPeer()
700 suspended_thread->ModifySuspendCount(soa.Self(), -1, debug_suspension); in SuspendThreadByPeer()
731 Thread* suspended_thread = nullptr; in SuspendThreadByThreadId() local
752 CHECK(suspended_thread == nullptr) << "Suspended thread " << suspended_thread in SuspendThreadByThreadId()
762 if (suspended_thread == nullptr) { in SuspendThreadByThreadId()
770 suspended_thread = thread; in SuspendThreadByThreadId()
772 CHECK_EQ(suspended_thread, thread); in SuspendThreadByThreadId()
797 if (suspended_thread != nullptr) { in SuspendThreadByThreadId()