Lines Matching refs:try_acquire
59 if (lock_outer.try_acquire(tested_mutex)) { in TestTryAcquire()
66 …CHECK_MESSAGE(!lock_outer.try_acquire(tested_mutex), "ERROR for " << mutex_name << ": try_acquire … in TestTryAcquire()
68 if (lock_outer.try_acquire(tested_mutex)) { in TestTryAcquire()
79 …CHECK_MESSAGE(lock.try_acquire(tested_mutex), "ERROR for " << mutex_name << ": try_acquire failed …
81 …CHECK_MESSAGE(lock.try_acquire(tested_mutex), "ERROR for " << mutex_name << ": try_acquire failed …
89 if (lock_outer.try_acquire(tested_mutex, false) ) { in TestTryAcquireReader()
97 …CHECK_MESSAGE(!lock_outer.try_acquire(tested_mutex, true), "ERROR for " << mutex_name << ": try_ac… in TestTryAcquireReader()
101 …CHECK_MESSAGE(!lock_outer.try_acquire(tested_mutex, false), "ERROR for " << mutex_name << ": try_a… in TestTryAcquireReader()
103 if (lock_outer.try_acquire(tested_mutex, false) ) { in TestTryAcquireReader()
114 …CHECK_MESSAGE(lock.try_acquire(tested_mutex, false), "Error for " << mutex_name << ": try_acquire …
115 …CHECK_MESSAGE(lock.try_acquire(tested_mutex, true), "Error for " << mutex_name << ": try_acquire o…
117 …CHECK_MESSAGE(lock.try_acquire(tested_mutex, false), "Error for " << mutex_name << ": try_acquire …
118 …CHECK_MESSAGE(lock.try_acquire(tested_mutex, true), "Error for " << mutex_name << ": try_acquire o…
251 bool try_acquire(mutex_type& m) { in try_acquire() function
285 bool try_acquire(mutex_type& m, bool is_writer) { in try_acquire() function