Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dtry_lock.pass.cpp24 bool try_lock_called = false; variable
30 try_lock_called = !try_lock_called; in try_lock()
31 return try_lock_called; in try_lock()
42 assert(try_lock_called == true); in main()
57 assert(try_lock_called == false); in main()
/llvm-project-15.0.7/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
H A Dtry_lock.pass.cpp26 bool try_lock_called = false; variable
32 try_lock_called = !try_lock_called; in try_lock_shared()
33 return try_lock_called; in try_lock_shared()
44 assert(try_lock_called == true); in main()
59 assert(try_lock_called == false); in main()