Home
last modified time | relevance | path

Searched refs:thr1 (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/tsan/go/
Dtest.c65 void *thr1 = 0; in main() local
66 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); in main()
70 __tsan_func_enter(thr1, (char*)&foobar + 1); in main()
71 __tsan_func_enter(thr1, (char*)&foobar + 1); in main()
72 __tsan_write(thr1, buf, (char*)&barfoo + 1); in main()
73 __tsan_acquire(thr1, buf); in main()
74 __tsan_func_exit(thr1); in main()
75 __tsan_func_exit(thr1); in main()
76 __tsan_go_end(thr1); in main()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc73 ThreadClock thr1(1); in TEST() local
74 thr1.tick(); in TEST()
79 thr1.ReleaseStore(&cache, &sync); in TEST()
309 ThreadClock *thr1[kThreads]; in ClockFuzzer() local
314 thr1[i] = new ThreadClock(i, reused[i]); in ClockFuzzer()
331 thr1[tid]->tick(); in ClockFuzzer()
338 thr1[tid]->acquire(&cache, sync1[cid]); in ClockFuzzer()
344 thr1[tid]->release(&cache, sync1[cid]); in ClockFuzzer()
350 thr1[tid]->acq_rel(&cache, sync1[cid]); in ClockFuzzer()
356 thr1[tid]->ReleaseStore(&cache, sync1[cid]); in ClockFuzzer()
[all …]
/external/compiler-rt/test/tsan/
Dcond_cancel.c24 void *thr1(void *p) { in thr1() function
42 pthread_create(&th, 0, thr1, 0); in main()
Dcond.c15 void *thr1(void *p) { in thr1() function
48 pthread_create(&th1, 0, thr1, 0); in main()
/external/valgrind/helgrind/tests/
Dbar_bad.c38 pthread_t thr1, thr2, slp1, slp2, ext1; in main() local
60 pthread_create(&thr1, NULL, child1, (void*)bar3); in main()
/external/mesa3d/include/c11/
Dthreads_posix.h319 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
321 return pthread_equal(thr0, thr1); in thrd_equal()
Dthreads_win32.h544 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal() argument
546 return GetThreadId(thr0) == GetThreadId(thr1); in thrd_equal()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc76 ThreadState *thr1 = static_cast<ThreadState*>(arg); in OnDetached() local
77 sync.Reset(&thr1->proc()->clock_cache); in OnDetached()