Searched refs:timed (Results 1 - 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CyclicBarrier.java | 170 private int dowait(boolean timed, long nanos) argument 202 // loop until tripped, broken, interrupted, or timed out 205 if (!timed) 227 if (timed && nanos <= 0L) { 327 * interrupted or timed out while the current thread was 398 * interrupted or timed out while the current thread was
|
H A D | SynchronousQueue.java | 150 * @param timed if this operation should timeout 157 abstract E transfer(E e, boolean timed, long nanos); argument 161 * The number of times to spin before blocking in timed waits. 172 * This is greater than timed value because untimed waits spin 179 * rather than to use timed park. A rough estimate suffices. 299 E transfer(E e, boolean timed, long nanos) { argument 327 if (timed && nanos <= 0L) { // can't wait 333 SNode m = awaitFulfill(s, timed, nanos); 380 * @param timed true if timed wai 384 awaitFulfill(SNode s, boolean timed, long nanos) argument 612 transfer(E e, boolean timed, long nanos) argument 706 awaitFulfill(QNode s, E e, boolean timed, long nanos) argument [all...] |
H A D | Exchanger.java | 188 * throw TimeoutExceptions in the timed version of the public 271 * timeout, to avoid need for separate timed versions of these 324 * @param timed true if the wait is timed 325 * @param ns if timed, the maximum wait time, else 0L 327 * TIMED_OUT if timed and timed out 329 private final Object arenaExchange(Object item, boolean timed, long ns) { argument 346 long end = (timed && m == 0) ? System.nanoTime() + ns : 0L; 367 (!timed || 422 slotExchange(Object item, boolean timed, long ns) argument [all...] |
H A D | Phaser.java | 750 * @throws TimeoutException if timed out while waiting 1059 final boolean timed; field in class:Phaser.QNode 1067 boolean timed, long nanos) { 1072 this.timed = timed; 1073 this.deadline = timed ? System.nanoTime() + nanos : 0L; 1090 if (timed && 1100 if (timed) 1066 QNode(Phaser phaser, int phase, boolean interruptible, boolean timed, long nanos) argument
|
H A D | AbstractExecutorService.java | 119 boolean timed, long nanos) 140 final long deadline = timed ? System.nanoTime() + nanos : 0L; 158 else if (timed) { 118 doInvokeAny(Collection<? extends Callable<T>> tasks, boolean timed, long nanos) argument
|
H A D | FutureTask.java | 362 * @param timed true if use timed waits 363 * @param nanos time to wait, if timed 366 private int awaitDone(boolean timed, long nanos) argument 394 if (timed && nanos <= 0L) 401 else if (timed) { 426 * Tries to unlink a timed-out or interrupted wait node to avoid
|
H A D | ThreadPoolExecutor.java | 1014 * Performs blocking or timed wait for a task, depending on 1021 * 4. This worker timed out waiting for a task, and timed-out 1024 * both before and after the timed wait, and if the queue is 1046 boolean timed = allowCoreThreadTimeOut || wc > corePoolSize; 1048 if ((wc > maximumPoolSize || (timed && timedOut)) 1056 Runnable r = timed ?
|
H A D | LinkedTransferQueue.java | 294 * the current thread was interrupted or the wait timed out. On 324 * may arise due to timed out or interrupted waits, or calls to 347 * can occur in practice; for example when a series of short timed 363 * caller is already timed-out, cancelled, or performing a 558 private static final int TIMED = 3; // for timed poll, tryTransfer 660 * @param timed if true, wait only until timeout elapses 661 * @param nanos timeout in nanosecs, used only if timed is true 664 private E awaitMatch(Node s, Node pred, E e, boolean timed, long nanos) { argument 665 final long deadline = timed ? System.nanoTime() + nanos : 0L; 678 else if (w.isInterrupted() || (timed [all...] |
Completed in 120 milliseconds