Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc114 uptr this_thread_index = __sync_fetch_and_add( in AdvancedIncrementerThread() local
118 if (this_thread_index + 1 < kThreadCount) { in AdvancedIncrementerThread()
120 pthread_create(&callback_argument->thread_ids[this_thread_index + 1], in AdvancedIncrementerThread()
132 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); in AdvancedIncrementerThread()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cpp113 uptr this_thread_index = __sync_fetch_and_add( in AdvancedIncrementerThread() local
117 if (this_thread_index + 1 < kThreadCount) { in AdvancedIncrementerThread()
119 pthread_create(&callback_argument->thread_ids[this_thread_index + 1], in AdvancedIncrementerThread()
131 __sync_fetch_and_add(&callback_argument->counters[this_thread_index], 1); in AdvancedIncrementerThread()
/external/llvm-project/lldb/test/API/tools/lldb-server/
Dmain.cpp195 const int this_thread_index = s_thread_index++; in thread_func() local
198 printf("thread %d id: ", this_thread_index); in thread_func()
209 int sleep_seconds = 2 * (this_thread_index - 1); in thread_func()