Searched refs:lockAttempt (Results 1 - 2 of 2) sorted by relevance

/haiku/src/tests/kits/support/blocker/
H A DConcurrencyTest1.cpp107 * acquisition loop (lockAttempt) and whether or not this is
114 bool ConcurrencyTest1::AcquireLock(int lockAttempt, argument
121 timeoutLock = ((lockAttempt % 2) == 1);
123 timeoutLock = (((lockAttempt / 2) % 2) == 1);
H A DConcurrencyTest2.cpp134 * acquisition loop (lockAttempt) and whether or not this is
141 bool ConcurrencyTest2::AcquireLock(int lockAttempt, argument
148 timeoutLock = ((lockAttempt % 2) == 1);
150 timeoutLock = (((lockAttempt / 2) % 2) == 1);

Completed in 22 milliseconds