Searched refs:slock (Results 1 – 1 of 1) sorted by relevance
213 private val slock = StampedLock() in newReadHead() constant226 val stamp = slock.tryWriteLock() in newReadHead()230 slock.unlockWrite(stamp) in newReadHead()236 val stamp = slock.tryOptimisticRead() in newReadHead()240 if (!slock.validate(stamp)) concurrentAccessDetected() in newReadHead()266 val stamp = slock.tryWriteLock() in newReadHead()276 slock.unlockWrite(stamp) in newReadHead()287 val stamp = slock.tryReadLock() in newReadHead()295 slock.unlockRead(stamp) in newReadHead()