Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DCountDownLatch.java132 private static final class Sync extends AbstractQueuedSynchronizer { class in CountDownLatch
135 Sync(int count) { in Sync() method in CountDownLatch.Sync
160 private final Sync sync;
171 this.sync = new Sync(count); in CountDownLatch()
DSemaphore.java130 private final Sync sync;
137 abstract static class Sync extends AbstractQueuedSynchronizer { class in Semaphore
140 Sync(int permits) { in Sync() method in Semaphore.Sync
192 static final class NonfairSync extends Sync {
207 static final class FairSync extends Sync {
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java195 final Sync sync;
224 abstract static class Sync extends AbstractQueuedSynchronizer { class in ReentrantReadWriteLock
309 Sync() { in Sync() method in ReentrantReadWriteLock.Sync
641 static final class NonfairSync extends Sync {
661 static final class FairSync extends Sync {
676 private final Sync sync;
885 private final Sync sync;
1451 int w = Sync.exclusiveCount(c); in toString()
1452 int r = Sync.sharedCount(c); in toString()
DReentrantLock.java80 private final Sync sync;
87 abstract static class Sync extends AbstractQueuedSynchronizer { class in ReentrantLock
169 static final class NonfairSync extends Sync {
191 static final class FairSync extends Sync {