Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java336 private transient Thread firstReader; field in ReentrantReadWriteLock.Sync
416 if (firstReader == current) { in tryReleaseShared()
419 firstReader = null; in tryReleaseShared()
476 firstReader = current; in tryAcquireShared()
478 } else if (firstReader == current) { in tryAcquireShared()
514 if (firstReader == current) { in fullTryAcquireShared()
533 firstReader = current; in fullTryAcquireShared()
535 } else if (firstReader == current) { in fullTryAcquireShared()
590 firstReader = current; in tryReadLock()
592 } else if (firstReader == current) { in tryReadLock()
[all …]