Searched refs:lockAttempt (Results 1 – 2 of 2) sorted by relevance
114 bool ConcurrencyTest1::AcquireLock(int lockAttempt, in AcquireLock() argument121 timeoutLock = ((lockAttempt % 2) == 1); in AcquireLock()123 timeoutLock = (((lockAttempt / 2) % 2) == 1); in AcquireLock()
141 bool ConcurrencyTest2::AcquireLock(int lockAttempt, in AcquireLock() argument148 timeoutLock = ((lockAttempt % 2) == 1); in AcquireLock()150 timeoutLock = (((lockAttempt / 2) % 2) == 1); in AcquireLock()