Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp27 std::atomic<unsigned> throw_one(0xFFFF); variable
33 unsigned expected = throw_one; in operator new()
36 } while (!throw_one.compare_exchange_weak(expected, expected - 1)); in operator new()
128 throw_one = 0xFFF; in test_throwing_new_during_thread_creation()
133 numAllocs = 0xFFF - throw_one; in test_throwing_new_during_thread_creation()
136 throw_one = i; in test_throwing_new_during_thread_creation()
151 throw_one = 0xFFF; in test_throwing_new_during_thread_creation()
183 throw_one = 0; in main()
191 throw_one = 0xFFFF; in main()