Searched refs:thread_lister (Results 1 – 2 of 2) sorted by relevance
123 static std::vector<pid_t> ReadTidsToVector(ThreadLister *thread_lister) { in ReadTidsToVector() argument126 while ((tid = thread_lister->GetNextTID()) >= 0) in ReadTidsToVector()128 EXPECT_FALSE(thread_lister->error()); in ReadTidsToVector()147 ThreadLister thread_lister(getpid()); in TEST_F() local148 std::vector<pid_t> listed_tids = ReadTidsToVector(&thread_lister); in TEST_F()156 ThreadLister thread_lister(getpid()); in TEST_F() local161 thread_lister.Reset(); in TEST_F()162 std::vector<pid_t> listed_tids = ReadTidsToVector(&thread_lister); in TEST_F()170 ThreadLister thread_lister(getpid()); in TEST_F() local171 std::vector<pid_t> threads_before_extra = ReadTidsToVector(&thread_lister); in TEST_F()[all …]
179 ThreadLister thread_lister(pid_); in SuspendAllThreads() local184 pid_t tid = thread_lister.GetNextTID(); in SuspendAllThreads()188 tid = thread_lister.GetNextTID(); in SuspendAllThreads()190 if (thread_lister.error()) { in SuspendAllThreads()195 thread_lister.Reset(); in SuspendAllThreads()