Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/go/
Dtest.c47 void *thr1 = 0; in main() local
48 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); in main()
51 __tsan_func_enter(thr1, (char*)&foobar + 1); in main()
52 __tsan_func_enter(thr1, (char*)&foobar + 1); in main()
53 __tsan_write(thr1, buf, (char*)&barfoo + 1); in main()
54 __tsan_acquire(thr1, buf); in main()
55 __tsan_func_exit(thr1); in main()
56 __tsan_func_exit(thr1); in main()
57 __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/valgrind/helgrind/tests/
Dbar_bad.c21 pthread_t thr1, thr2; in main() local
53 pthread_create(&thr1, NULL, child1, (void*)bar3); in main()
83 r= pthread_cancel(thr1); assert(!r); in main()
/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/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc76 ThreadState *thr1 = static_cast<ThreadState*>(arg); in OnDetached() local
77 sync.Reset(&thr1->clock_cache); in OnDetached()