Home
last modified time | relevance | path

Searched refs:kThreadCount (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cpp83 static const uptr kThreadCount = 50; variable
88 std::atomic_int counters[kThreadCount] = {};
89 std::thread threads[kThreadCount];
97 if (this_thread_index + 1 < kThreadCount) { in AdvancedIncrementerThread()
119 int counters_at_init[kThreadCount]; in AdvancedCallback()
120 for (uptr j = 0; j < kThreadCount; j++) in AdvancedCallback()
124 for (uptr j = 0; j < kThreadCount; j++) in AdvancedCallback()
147 while (argument.thread_index < kThreadCount) std::this_thread::yield(); in TEST()
H A Dsanitizer_linux_test.cpp67 for (uptr i = 0; i < kThreadCount; i++) { in SetUp()
85 static const uptr kThreadCount = 20; member in __sanitizer::ThreadListerTest
/openbsd-src/gnu/llvm/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mutex.cpp178 const int kThreadCount = 8; in TEST() local
192 pthread_t threads[kThreadCount]; in TEST()
193 for (int t = 0; t < kThreadCount; t++) in TEST()
195 for (int t = 0; t < kThreadCount; t++) in TEST()