Searched refs:tryAcquireSharedNanos (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CountDownLatch.java | 278 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AbstractQueuedLongSynchronizerTest.java | 1184 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1186 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1225 l.tryAcquireSharedNanos(0, nanos); 1249 assertFalse(l.tryAcquireSharedNanos(0, nanos));
|
D | AbstractQueuedSynchronizerTest.java | 1187 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1189 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1228 l.tryAcquireSharedNanos(0, nanos); 1252 assertFalse(l.tryAcquireSharedNanos(0, nanos));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedSynchronizerTest.java | 1159 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1161 assertTrue(l.tryAcquireSharedNanos(0, nanos)); 1200 l.tryAcquireSharedNanos(0, nanos); 1224 assertFalse(l.tryAcquireSharedNanos(0, nanos));
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantReadWriteLock.java | 873 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryLock()
|
D | AbstractQueuedLongSynchronizer.java | 881 public final boolean tryAcquireSharedNanos(long arg, long nanosTimeout) in tryAcquireSharedNanos() method in AbstractQueuedLongSynchronizer
|