Home
last modified time | relevance | path

Searched refs:thread_lister (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cc123 static std::vector<pid_t> ReadTidsToVector(ThreadLister *thread_lister) { in ReadTidsToVector() argument
126 while ((tid = thread_lister->GetNextTID()) >= 0) in ReadTidsToVector()
128 EXPECT_FALSE(thread_lister->error()); in ReadTidsToVector()
147 ThreadLister thread_lister(getpid()); in TEST_F() local
148 std::vector<pid_t> listed_tids = ReadTidsToVector(&thread_lister); in TEST_F()
156 ThreadLister thread_lister(getpid()); in TEST_F() local
161 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() local
171 std::vector<pid_t> threads_before_extra = ReadTidsToVector(&thread_lister); in TEST_F()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_linux_libcdep.cc179 ThreadLister thread_lister(pid_); in SuspendAllThreads() local
184 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()