Home
last modified time | relevance | path

Searched refs:thr0 (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/tsan/go/
Dtest.c38 void *thr0 = 0; in main() local
41 __tsan_init(&thr0, symbolize_cb); in main()
43 __tsan_func_enter(thr0, (char*)&main + 1); in main()
45 __tsan_release(thr0, buf); in main()
46 __tsan_release_merge(thr0, buf); in main()
48 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); in main()
50 __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1); in main()
62 __tsan_func_exit(thr0); in main()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc307 SimpleThreadClock *thr0[kThreads]; in ClockFuzzer() local
312 thr0[i] = new SimpleThreadClock(i); in ClockFuzzer()
329 thr0[tid]->tick(); in ClockFuzzer()
336 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
342 thr0[tid]->release(sync0[cid]); in ClockFuzzer()
348 thr0[tid]->acq_rel(sync0[cid]); in ClockFuzzer()
354 thr0[tid]->ReleaseStore(sync0[cid]); in ClockFuzzer()
366 u64 epoch = thr0[tid]->clock[tid] + 1; in ClockFuzzer()
368 delete thr0[tid]; in ClockFuzzer()
369 thr0[tid] = new SimpleThreadClock(tid); in ClockFuzzer()
[all …]