Home
last modified time | relevance | path

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

/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp24 bool try_lock_called = false; variable
30 try_lock_called = !try_lock_called; in try_lock_shared()
31 return try_lock_called; in try_lock_shared()
42 assert(try_lock_called == true); in main()
57 assert(try_lock_called == false); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock.pass.cpp23 bool try_lock_called = false; variable
29 try_lock_called = !try_lock_called; in try_lock()
30 return try_lock_called; in try_lock()
41 assert(try_lock_called == true); in main()
56 assert(try_lock_called == false); in main()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
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()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp25 bool try_lock_called = false; variable
31 try_lock_called = !try_lock_called; in try_lock_shared()
32 return try_lock_called; in try_lock_shared()
43 assert(try_lock_called == true); in main()
58 assert(try_lock_called == false); in main()