Home
last modified time | relevance | path

Searched refs:tryAcquireSharedNanos (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java278 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in await()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java1184 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1186 assertTrue(l.tryAcquireSharedNanos(0, nanos));
1225 l.tryAcquireSharedNanos(0, nanos);
1249 assertFalse(l.tryAcquireSharedNanos(0, nanos));
DAbstractQueuedSynchronizerTest.java1187 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/
DAbstractQueuedSynchronizerTest.java1159 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/
DReentrantReadWriteLock.java873 return sync.tryAcquireSharedNanos(1, unit.toNanos(timeout)); in tryLock()
DAbstractQueuedLongSynchronizer.java881 public final boolean tryAcquireSharedNanos(long arg, long nanosTimeout) in tryAcquireSharedNanos() method in AbstractQueuedLongSynchronizer