Searched refs:thr0 (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/go/ |
D | test.c | 53 void *thr0 = 0; in main() local 55 __tsan_init(&thr0, &proc0, symbolize_cb); in main() 59 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); in main() 61 __tsan_func_enter(thr0, (char*)&main + 1); in main() 62 __tsan_malloc(thr0, (char*)&barfoo + 1, buf, 10); in main() 63 __tsan_release(thr0, buf); in main() 64 __tsan_release_merge(thr0, buf); in main() 66 __tsan_go_start(thr0, &thr1, (char*)&barfoo + 1); in main() 68 __tsan_go_start(thr0, &thr2, (char*)&barfoo + 1); in main() 69 __tsan_func_exit(thr0); in main()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_clock_test.cc | 308 SimpleThreadClock *thr0[kThreads]; in ClockFuzzer() local 313 thr0[i] = new SimpleThreadClock(i); in ClockFuzzer() 330 thr0[tid]->tick(); in ClockFuzzer() 337 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer() 343 thr0[tid]->release(sync0[cid]); in ClockFuzzer() 349 thr0[tid]->acq_rel(sync0[cid]); in ClockFuzzer() 355 thr0[tid]->ReleaseStore(sync0[cid]); in ClockFuzzer() 367 u64 epoch = thr0[tid]->clock[tid] + 1; in ClockFuzzer() 369 delete thr0[tid]; in ClockFuzzer() 370 thr0[tid] = new SimpleThreadClock(tid); in ClockFuzzer() [all …]
|