Searched defs:timed (Results 1 - 8 of 8) sorted by relevance
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | AbstractExecutorService.java | 140 boolean timed, long nanos) 161 long lastTime = timed ? System.nanoTime() : 0; 179 else if (timed) { 139 doInvokeAny(Collection<? extends Callable<T>> tasks, boolean timed, long nanos) argument
|
H A D | CyclicBarrier.java | 191 private int dowait(boolean timed, long nanos) argument 223 // loop until tripped, broken, interrupted, or timed out 226 if (!timed) 248 if (timed && nanos <= 0L) { 348 * interrupted or timed out while the current thread was 418 * interrupted or timed out while the current thread was
|
H A D | Exchanger.java | 252 * The number of times to spin before blocking in timed waits. 333 * @param timed true if the wait is timed 334 * @param nanos if timed, the maximum wait time 335 * @return the other thread's item, or CANCEL if interrupted or timed out 337 private Object doExchange(Object item, boolean timed, long nanos) { argument 358 return timed ? 511 * thread. Fails if timed out or interrupted before hole filled. 550 * thread gives up on a timed wait, it is possible that a
|
H A D | FutureTask.java | 388 * @param timed true if use timed waits 389 * @param nanos time to wait, if timed 392 private int awaitDone(boolean timed, long nanos) argument 394 final long deadline = timed ? System.nanoTime() + nanos : 0L; 416 else if (timed) { 430 * Tries to unlink a timed-out or interrupted wait node to avoid
|
H A D | Phaser.java | 773 * @throws TimeoutException if timed out while waiting 1082 final boolean timed; field in class:Phaser.QNode 1090 boolean timed, long nanos) { 1095 this.timed = timed; 1096 this.lastTime = timed ? System.nanoTime() : 0L; 1113 if (timed) { 1130 else if (!timed) 1089 QNode(Phaser phaser, int phase, boolean interruptible, boolean timed, long nanos) argument
|
H A D | LinkedTransferQueue.java | 320 * the current thread was interrupted or the wait timed out. On 350 * may arise due to timed out or interrupted waits, or calls to 373 * can occur in practice; for example when a series of short timed 389 * caller is already timed-out, cancelled, or performing a 586 private static final int TIMED = 3; // for timed poll, tryTransfer 693 * @param timed if true, wait only until timeout elapses 694 * @param nanos timeout in nanosecs, used only if timed is true 697 private E awaitMatch(Node s, Node pred, E e, boolean timed, long nanos) { argument 698 long lastTime = timed ? System.nanoTime() : 0L; 710 if ((w.isInterrupted() || (timed [all...] |
H A D | SynchronousQueue.java | 173 * @param timed if this operation should timeout 180 abstract Object transfer(Object e, boolean timed, long nanos); argument 187 * The number of times to spin before blocking in timed waits. 197 * This is greater than timed value because untimed waits spin 204 * rather than to use timed park. A rough estimate suffices. 325 Object transfer(Object e, boolean timed, long nanos) { argument 353 if (timed && nanos <= 0) { // can't wait 359 SNode m = awaitFulfill(s, timed, nanos); 406 * @param timed true if timed wai 410 awaitFulfill(SNode s, boolean timed, long nanos) argument 643 transfer(Object e, boolean timed, long nanos) argument 737 awaitFulfill(QNode s, Object e, boolean timed, long nanos) argument [all...] |
/openjdk7/hotspot/src/share/vm/services/ |
H A D | threadService.hpp | 442 // Change status to waiting on an object (timed or indefinite) 449 JavaThreadInObjectWaitState(JavaThread *java_thread, bool timed) : argument 451 timed ? java_lang_Thread::IN_OBJECT_WAIT_TIMED : java_lang_Thread::IN_OBJECT_WAIT) { 471 // Change status to parked (timed or indefinite) 478 JavaThreadParkedState(JavaThread *java_thread, bool timed) : argument 480 timed ? java_lang_Thread::PARKED_TIMED : java_lang_Thread::PARKED) {
|
Completed in 170 milliseconds