Home
last modified time | relevance | path

Searched refs:this_thread_index (Results 1 – 1 of 1) 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()