Home
last modified time | relevance | path

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

/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_until.pass.cpp22 bool try_lock_until_called = false; variable
31 try_lock_until_called = !try_lock_until_called; in try_lock_shared_until()
32 return try_lock_until_called; in try_lock_shared_until()
47 assert(try_lock_until_called == true); in main()
60 assert(try_lock_until_called == false); in main()
/external/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock_until.pass.cpp20 bool try_lock_until_called = false; variable
29 try_lock_until_called = !try_lock_until_called; in try_lock_until()
30 return try_lock_until_called; in try_lock_until()
42 assert(try_lock_until_called == true); in main()
55 assert(try_lock_until_called == false); in main()