Searched defs:FairSync (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DSemaphore.java241 static final class FairSync extends Sync { class in class:Semaphore
244 FairSync(int permits) { method in class:Semaphore.FairSync
285 sync = fair ? new FairSync(permits) : new NonfairSync(permits);
659 return sync instanceof FairSync;
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DReentrantLock.java225 static final class FairSync extends Sync { class in class:ReentrantLock
272 sync = fair ? new FairSync() : new NonfairSync();
605 return sync instanceof FairSync;
H A DReentrantReadWriteLock.java243 sync = fair ? new FairSync() : new NonfairSync();
693 static final class FairSync extends Sync { class in class:ReentrantReadWriteLock
1232 return sync instanceof FairSync;

Completed in 131 milliseconds