Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java162 private static final class Sync extends AbstractQueuedSynchronizer { class in CountDownLatch
165 Sync(int count) { in Sync() method in CountDownLatch.Sync
190 private final Sync sync;
201 this.sync = new Sync(count); in CountDownLatch()
DSemaphore.java165 private final Sync sync;
172 abstract static class Sync extends AbstractQueuedSynchronizer { class in Semaphore
175 Sync(int permits) { in Sync() method in Semaphore.Sync
227 static final class NonfairSync extends Sync {
242 static final class FairSync extends Sync {
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java132 private final java.util.concurrent.locks.ReentrantLock.Sync sync;
139 static final class FairSync extends java.util.concurrent.locks.ReentrantLock.Sync {
157 static final class NonfairSync extends java.util.concurrent.locks.ReentrantLock.Sync {
175 abstract static class Sync extends java.util.concurrent.locks.AbstractQueuedSynchronizer { class in ReentrantLock
177 Sync() { in Sync() method in ReentrantLock.Sync
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java225 final Sync sync;
254 abstract static class Sync extends AbstractQueuedSynchronizer { class in ReentrantReadWriteLock
339 Sync() { in Sync() method in ReentrantReadWriteLock.Sync
671 static final class NonfairSync extends Sync {
691 static final class FairSync extends Sync {
706 private final Sync sync;
920 private final Sync sync;
1486 int w = Sync.exclusiveCount(c); in toString()
1487 int r = Sync.sharedCount(c); in toString()
DReentrantLock.java110 private final Sync sync;
117 abstract static class Sync extends AbstractQueuedSynchronizer { class in ReentrantLock
203 static final class NonfairSync extends Sync {
227 static final class FairSync extends Sync {