Home
last modified time | relevance | path

Searched refs:access_callback (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/compiler-rt/test/tsan/
Dload_shared_lib.cpp46 void race_two_threads(void *(*access_callback)(void *unused)) { in race_two_threads()
48 pthread_create(&t1, NULL, access_callback, (void*)1); in race_two_threads()
49 pthread_create(&t2, NULL, access_callback, NULL); in race_two_threads()
/external/compiler-rt/test/tsan/
Dload_shared_lib.cc46 void race_two_threads(void *(*access_callback)(void *unused)) { in race_two_threads()
48 pthread_create(&t1, NULL, access_callback, (void*)1); in race_two_threads()
49 pthread_create(&t2, NULL, access_callback, NULL); in race_two_threads()
/external/llvm-project/libcxxabi/test/
Dguard_threaded_test.pass.cpp134 Callback access_callback(InitFn init) { in access_callback() function
197 test_obj.access_callback([&]() { in test_free_for_all()
217 threads.Create(test_obj.access_callback( in test_waiting_for_init()
232 test_obj.access_callback([]() { assert(false); }) in test_waiting_for_init()
252 threads.Create(test_obj.access_callback( in test_aborted_init()
263 test_obj.access_callback([&]() { in test_aborted_init()
292 test_obj.access_callback([]() { assert(false); }) in test_completed_init()