Searched refs:FairSync (Results 1 – 4 of 4) sorted by relevance
242 static final class FairSync extends Sync { class in Semaphore245 FairSync(int permits) { in FairSync() method in Semaphore.FairSync286 sync = fair ? new FairSync(permits) : new NonfairSync(permits); in Semaphore()666 return sync instanceof FairSync; in isFair()
253 static final class FairSync extends Sync { class in ReentrantLock304 sync = fair ? new FairSync() : new NonfairSync(); in ReentrantLock()636 return sync instanceof FairSync; in isFair()
241 sync = fair ? new FairSync() : new NonfairSync(); in ReentrantReadWriteLock()700 static final class FairSync extends Sync { class in ReentrantReadWriteLock1248 return sync instanceof FairSync; in isFair()
139 static final class FairSync extends java.util.concurrent.locks.ReentrantLock.Sync { class in ReentrantLock141 FairSync() { in FairSync() method in ReentrantLock.FairSync