Home
last modified time | relevance | path

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

/llvm-project/libcxxabi/test/
H A Dguard_threaded_test.pass.cpp191 FunctionLocalStatic<GuardType, Impl> test_obj; in test_free_for_all() local
197 test_obj.access_callback([&]() { in test_free_for_all()
206 assert(test_obj.get_count(PERFORMED) == 1); in test_free_for_all()
207 assert(test_obj.get_count(COMPLETE) + test_obj.get_count(WAITED) == num_waiters - 1); in test_free_for_all()
212 FunctionLocalStatic<GuardType, Impl> test_obj; in test_waiting_for_init() local
217 threads.Create(test_obj.access_callback( in test_waiting_for_init()
232 test_obj.access_callback([]() { assert(false); }) in test_waiting_for_init()
240 assert(test_obj.get_count(PERFORMED) == 1); in test_waiting_for_init()
241 assert(test_obj.get_count(ABORTED) == 0); in test_waiting_for_init()
242 assert(test_obj.get_count(COMPLETE) + test_obj.get_count(WAITED) == num_waiters); in test_waiting_for_init()
[all …]