Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 25 of 57) sorted by relevance

123

/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java36 package java.util.concurrent.locks;
41 public class ReentrantLock implements java.util.concurrent.locks.Lock, java.io.Serializable {
72 public java.util.concurrent.locks.Condition newCondition() { in newCondition()
112 public boolean hasWaiters(java.util.concurrent.locks.Condition condition) { in hasWaiters()
116 public int getWaitQueueLength(java.util.concurrent.locks.Condition condition) { in getWaitQueueLength()
121 java.util.concurrent.locks.Condition condition) { in getWaitingThreads()
132 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 {
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingQueue.java191 private final java.util.concurrent.locks.Condition notEmpty;
197 private final java.util.concurrent.locks.Condition notFull;
204 private final java.util.concurrent.locks.ReentrantLock putLock;
213 private final java.util.concurrent.locks.ReentrantLock takeLock;
DLinkedBlockingDeque.java293 final java.util.concurrent.locks.ReentrantLock lock;
299 private final java.util.concurrent.locks.Condition notEmpty;
305 private final java.util.concurrent.locks.Condition notFull;
DThreadPoolExecutor.java365 private final java.util.concurrent.locks.ReentrantLock mainLock;
379 private final java.util.concurrent.locks.Condition termination;
453 private final class Worker extends java.util.concurrent.locks.AbstractQueuedSynchronizer
DPriorityBlockingQueue.java218 private final java.util.concurrent.locks.ReentrantLock lock;
225 private final java.util.concurrent.locks.Condition notEmpty;
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java161 private static final Set<String> locks = new HashSet<>(); field in FileHandler
447 synchronized(locks) { in openFiles()
448 if (locks.contains(lockFileName)) { in openFiles()
521 locks.add(lockFileName); in openFiles()
723 synchronized(locks) { in close()
724 locks.remove(lockFileName); in close()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
Dpackage-info.java79 package java.util.concurrent.locks;
DReadWriteLock.java36 package java.util.concurrent.locks;
DAbstractOwnableSynchronizer.java36 package java.util.concurrent.locks;
DLock.java36 package java.util.concurrent.locks;
DCondition.java36 package java.util.concurrent.locks;
DLockSupport.java36 package java.util.concurrent.locks;
DReentrantLock.java36 package java.util.concurrent.locks;
/libcore/ojluni/src/main/java/java/util/concurrent/
DCyclicBarrier.java38 import java.util.concurrent.locks.Condition;
39 import java.util.concurrent.locks.ReentrantLock;
DCountDownLatch.java38 import java.util.concurrent.locks.AbstractQueuedSynchronizer;
DDelayQueue.java45 import java.util.concurrent.locks.Condition;
46 import java.util.concurrent.locks.ReentrantLock;
DSemaphore.java39 import java.util.concurrent.locks.AbstractQueuedSynchronizer;
DThreadPoolExecutor.java45 import java.util.concurrent.locks.AbstractQueuedSynchronizer;
46 import java.util.concurrent.locks.Condition;
47 import java.util.concurrent.locks.ReentrantLock;
/libcore/ojluni/src/main/java/sun/nio/ch/
DPort.java35 import java.util.concurrent.locks.ReadWriteLock;
36 import java.util.concurrent.locks.ReentrantReadWriteLock;
DAsynchronousServerSocketChannelImpl.java39 import java.util.concurrent.locks.ReadWriteLock;
40 import java.util.concurrent.locks.ReentrantReadWriteLock;
DAsynchronousFileChannelImpl.java32 import java.util.concurrent.locks.*;
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java22 import java.util.concurrent.locks.LockSupport;
23 import java.util.concurrent.locks.ReentrantLock;
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixDirectoryStream.java31 import java.util.concurrent.locks.*;
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java33 import java.util.concurrent.locks.LockSupport;
/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java37 import java.util.concurrent.locks.ReentrantLock;

123