Searched refs:deadline (Results 1 – 12 of 12) sorted by relevance
235 public static void parkUntil(Object blocker, long deadline) { in parkUntil() argument238 unsafe.park(true, deadline); in parkUntil()353 public static void parkUntil(long deadline) { in parkUntil() argument354 unsafe.park(true, deadline); in parkUntil()
421 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() argument
894 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos() local906 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()994 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos() local1009 nanosTimeout = deadline - System.nanoTime(); in doAcquireSharedNanos()2047 final long deadline = System.nanoTime() + nanosTimeout; in awaitNanos() local2058 nanosTimeout = deadline - System.nanoTime(); in awaitNanos()2066 return deadline - System.nanoTime(); in awaitNanos()2083 public final boolean awaitUntil(Date deadline) in awaitUntil() argument2085 long abstime = deadline.getTime(); in awaitUntil()2131 final long deadline = System.nanoTime() + nanosTimeout; in await() local[all …]
664 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireNanos() local676 nanosTimeout = deadline - System.nanoTime(); in doAcquireNanos()764 final long deadline = System.nanoTime() + nanosTimeout; in doAcquireSharedNanos() local779 nanosTimeout = deadline - System.nanoTime(); in doAcquireSharedNanos()1819 final long deadline = System.nanoTime() + nanosTimeout; in awaitNanos() local1830 nanosTimeout = deadline - System.nanoTime(); in awaitNanos()1838 return deadline - System.nanoTime(); in awaitNanos()1855 public final boolean awaitUntil(Date deadline) in awaitUntil() argument1857 long abstime = deadline.getTime(); in awaitUntil()1903 final long deadline = System.nanoTime() + nanosTimeout; in await() local[all …]
132 final long deadline = timed ? System.nanoTime() + nanos : 0L; in doInvokeAny() local154 nanos = deadline - System.nanoTime(); in doInvokeAny()240 final long deadline = System.nanoTime() + nanos; in invokeAll() local247 nanos = deadline - System.nanoTime(); in invokeAll()264 nanos = deadline - System.nanoTime(); in invokeAll()
369 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitDone() local392 nanos = deadline - System.nanoTime(); in awaitDone()
1067 final long deadline; field in Phaser.QNode1078 this.deadline = timed ? System.nanoTime() + nanos : 0L; in QNode()1097 nanos = deadline - System.nanoTime(); in isReleasable()
405 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitFulfill() local416 nanos = deadline - System.nanoTime(); in awaitFulfill()709 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitFulfill() local720 nanos = deadline - System.nanoTime(); in awaitFulfill()
669 final long deadline = timed ? System.nanoTime() + nanos : 0L; in awaitMatch() local700 nanos = deadline - System.nanoTime(); in awaitMatch()
1718 int stat, ns; long parkTime, deadline; in awaitWork() local1741 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() local3007 nanos = deadline - System.nanoTime(); in awaitTermination()
993 long deadline = System.nanoTime() + ns; in get() local1036 (ns = deadline - System.nanoTime()) <= 0L) in get()
39 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