Home
last modified time | relevance | path

Searched refs:deadline (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
DLockSupport.java235 public static void parkUntil(Object blocker, long deadline) { in parkUntil() argument
238 unsafe.park(true, deadline); in parkUntil()
353 public static void parkUntil(long deadline) { in parkUntil() argument
354 unsafe.park(true, deadline); in parkUntil()
DCondition.java421 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() argument
DAbstractQueuedSynchronizer.java894 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos() local
906 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()
994 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos() local
1009 nanosTimeout = deadline - System.nanoTime(); in doAcquireSharedNanos()
2047 final long deadline = System.nanoTime() + nanosTimeout; in awaitNanos() local
2058 nanosTimeout = deadline - System.nanoTime(); in awaitNanos()
2066 return deadline - System.nanoTime(); in awaitNanos()
2083 public final boolean awaitUntil(Date deadline) in awaitUntil() argument
2085 long abstime = deadline.getTime(); in awaitUntil()
2131 final long deadline = System.nanoTime() + nanosTimeout; in await() local
[all …]
DAbstractQueuedLongSynchronizer.java664 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos() local
676 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()
764 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos() local
779 nanosTimeout = deadline - System.nanoTime(); in doAcquireSharedNanos()
1819 final long deadline = System.nanoTime() + nanosTimeout; in awaitNanos() local
1830 nanosTimeout = deadline - System.nanoTime(); in awaitNanos()
1838 return deadline - System.nanoTime(); in awaitNanos()
1855 public final boolean awaitUntil(Date deadline) in awaitUntil() argument
1857 long abstime = deadline.getTime(); in awaitUntil()
1903 final long deadline = System.nanoTime() + nanosTimeout; in await() local
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java132 final long deadline = timed ? System.nanoTime() + nanos : 0L; in doInvokeAny() local
154 nanos = deadline - System.nanoTime(); in doInvokeAny()
240 final long deadline = System.nanoTime() + nanos; in invokeAll() local
247 nanos = deadline - System.nanoTime(); in invokeAll()
264 nanos = deadline - System.nanoTime(); in invokeAll()
DFutureTask.java369 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitDone() local
392 nanos = deadline - System.nanoTime(); in awaitDone()
DPhaser.java1067 final long deadline; field in Phaser.QNode
1078 this.deadline = timed ? System.nanoTime() + nanos : 0L; in QNode()
1097 nanos = deadline - System.nanoTime(); in isReleasable()
DSynchronousQueue.java405 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitFulfill() local
416 nanos = deadline - System.nanoTime(); in awaitFulfill()
709 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitFulfill() local
720 nanos = deadline - System.nanoTime(); in awaitFulfill()
DLinkedTransferQueue.java669 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitMatch() local
700 nanos = deadline - System.nanoTime(); in awaitMatch()
DForkJoinPool.java1718 int stat, ns; long parkTime, deadline; in awaitWork() local
1741 deadline = System.nanoTime() + parkTime - TIMEOUT_SLOP; in awaitWork()
1744 parkTime = deadline = 0L; in awaitWork()
1754 deadline - System.nanoTime() <= 0L && in awaitWork()
2998 long deadline = System.nanoTime() + nanos; in awaitTermination() local
3007 nanos = deadline - System.nanoTime(); in awaitTermination()
DForkJoinTask.java993 long deadline = System.nanoTime() + ns; in get() local
1036 (ns = deadline - System.nanoTime()) <= 0L) in get()
/libcore/jsr166-tests/src/test/java/jsr166/
DLockSupportTest.java39 LockSupport.parkUntil(deadline(millis)); in parkUntil()
57 LockSupport.parkUntil(theBlocker(), deadline(millis)); in parkUntilBlocker()
71 long deadline(long millis) { in deadline() method in LockSupportTest.ParkMethod