Lines Matching refs:suspended_thread
898 Thread* suspended_thread = nullptr; in SuspendThreadByPeer() local
912 if (suspended_thread != nullptr) { in SuspendThreadByPeer()
917 bool updated = suspended_thread->ModifySuspendCount(soa.Self(), in SuspendThreadByPeer()
930 CHECK(suspended_thread == nullptr); in SuspendThreadByPeer()
945 CHECK(suspended_thread == nullptr); in SuspendThreadByPeer()
946 suspended_thread = thread; in SuspendThreadByPeer()
947 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
978 if (suspended_thread != nullptr) { in SuspendThreadByPeer()
979 CHECK_EQ(suspended_thread, thread); in SuspendThreadByPeer()
980 bool updated = suspended_thread->ModifySuspendCount(soa.Self(), in SuspendThreadByPeer()
1017 Thread* suspended_thread = nullptr; in SuspendThreadByThreadId() local
1038 CHECK(suspended_thread == nullptr) << "Suspended thread " << suspended_thread in SuspendThreadByThreadId()
1050 if (suspended_thread == nullptr) { in SuspendThreadByThreadId()
1059 suspended_thread = thread; in SuspendThreadByThreadId()
1061 CHECK_EQ(suspended_thread, thread); in SuspendThreadByThreadId()
1088 if (suspended_thread != nullptr) { in SuspendThreadByThreadId()