Home
last modified time | relevance | path

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

/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/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()