Searched refs:tryAcquireShared (Results 1 - 7 of 7) sorted by relevance

/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/
H A DCountDownLatch.java173 protected int tryAcquireShared(int acquires) { method in class:CountDownLatch.Sync
H A DSemaphore.java234 protected int tryAcquireShared(int acquires) { method in class:Semaphore.NonfairSync
249 protected int tryAcquireShared(int acquires) { method in class:Semaphore.FairSync
/openjdk10/jdk/src/java.base/share/classes/java/util/concurrent/locks/
H A DAbstractQueuedSynchronizer.java117 * <li>{@link #tryAcquireShared}
156 * define {@code tryAcquire} and/or {@code tryAcquireShared} to
270 * protected int tryAcquireShared(int ignore) {
741 * @param propagate the return value from a tryAcquireShared
986 int r = tryAcquireShared(arg);
1016 int r = tryAcquireShared(arg);
1050 int r = tryAcquireShared(arg);
1164 protected int tryAcquireShared(int arg) { method in class:AbstractQueuedSynchronizer
1299 * first invoking at least once {@link #tryAcquireShared},
1302 * #tryAcquireShared} unti
[all...]
H A DAbstractQueuedLongSynchronizer.java273 * @param propagate the return value from a tryAcquireShared
518 long r = tryAcquireShared(arg);
548 long r = tryAcquireShared(arg);
582 long r = tryAcquireShared(arg);
696 protected long tryAcquireShared(long arg) { method in class:AbstractQueuedLongSynchronizer
831 * first invoking at least once {@link #tryAcquireShared},
834 * #tryAcquireShared} until success.
837 * {@link #tryAcquireShared} but is otherwise uninterpreted
841 if (tryAcquireShared(arg) < 0)
848 * {@link #tryAcquireShared}, returnin
[all...]
H A DReentrantReadWriteLock.java453 protected final int tryAcquireShared(int unused) { method in class:ReentrantReadWriteLock.Sync
499 * and reentrant reads not dealt with in tryAcquireShared.
504 * tryAcquireShared but is simpler overall by not
505 * complicating tryAcquireShared with interactions between
582 * This is identical in effect to tryAcquireShared except for
/openjdk10/jdk/test/java/util/concurrent/tck/
H A DAbstractQueuedSynchronizerTest.java124 public int tryAcquireShared(int ignore) { method in class:AbstractQueuedSynchronizerTest.BooleanLatch
H A DAbstractQueuedLongSynchronizerTest.java120 public long tryAcquireShared(long ignore) { method in class:AbstractQueuedLongSynchronizerTest.BooleanLatch

Completed in 177 milliseconds