Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java227 static final class NonfairSync extends Sync { class in Semaphore
230 NonfairSync(int permits) { in NonfairSync() method in Semaphore.NonfairSync
271 sync = new NonfairSync(permits); in Semaphore()
286 sync = fair ? new FairSync(permits) : new NonfairSync(permits); in Semaphore()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java203 static final class NonfairSync extends Sync { class in ReentrantLock
266 sync = new NonfairSync(); in ReentrantLock()
276 sync = fair ? new FairSync() : new NonfairSync(); in ReentrantLock()
DReentrantReadWriteLock.java242 sync = fair ? new FairSync() : new NonfairSync(); in ReentrantReadWriteLock()
671 static final class NonfairSync extends Sync { class in ReentrantReadWriteLock
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java157 static final class NonfairSync extends java.util.concurrent.locks.ReentrantLock.Sync { class in ReentrantLock
159 NonfairSync() { in NonfairSync() method in ReentrantLock.NonfairSync