Searched refs:unpark (Results 1 - 15 of 15) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
H A D | LockSupport.java | 18 * it <em>may</em> block. A call to {@code unpark} makes the permit 22 * <p>Methods {@code park} and {@code unpark} provide efficient 27 * to {@code unpark} it will preserve liveness, due to the 34 * spinning, but must be paired with an {@code unpark} to be 87 * LockSupport.unpark(waiters.peek()); 118 * @param thread the thread to unpark, or {@code null}, in which case 121 public static void unpark(Thread thread) { method in class:LockSupport 123 unsafe.unpark(thread); 136 * <li>Some other thread invokes {@link #unpark unpark} wit [all...] |
H A D | AbstractQueuedLongSynchronizer.java | 151 * unpark its successor when it releases or 398 * Thread to unpark is held in successor, which is normally 411 LockSupport.unpark(s.thread); 1433 LockSupport.unpark(node.thread);
|
H A D | AbstractQueuedSynchronizer.java | 381 * unpark its successor when it releases or 628 * Thread to unpark is held in successor, which is normally 641 LockSupport.unpark(s.thread); 1663 LockSupport.unpark(node.thread);
|
/libcore/libart/src/main/java/sun/misc/ |
H A D | Unsafe.java | 283 * a previous call to {@link #unpark}. This method may also return 284 * spuriously (that is, without the thread being told to unpark 309 * @param obj non-null; the object to unpark 311 public void unpark(Object obj) { method in class:Unsafe 313 ((Thread) obj).unpark();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/ |
H A D | ThreadsTest.java | 65 /** Test the case where the unpark happens before the timeout. */ 86 UNSAFE.unpark(parkerThread); 107 /** Test the case where the unpark happens before the timeout. */ 128 UNSAFE.unpark(parkerThread); 282 UNSAFE.unpark(thread);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | LockSupportTest.java | 78 * park is released by subsequent unpark 107 LockSupport.unpark(t); 112 * park is released by preceding unpark 144 LockSupport.unpark(t);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 133 * some park/unpark mechanics compared to LockSupport versions. 345 U.unpark(w); 440 U.unpark(w);
|
H A D | Phaser.java | 953 LockSupport.unpark(t); 977 LockSupport.unpark(t); 1047 node.thread = null; // avoid need for unpark()
|
H A D | FutureTask.java | 343 LockSupport.unpark(t);
|
H A D | LinkedTransferQueue.java | 500 LockSupport.unpark(waiter); 600 LockSupport.unpark(p.waiter); 697 s.waiter = w; // request unpark then recheck
|
H A D | SynchronousQueue.java | 105 * Blocking is mainly accomplished using LockSupport park/unpark, 204 volatile Thread waiter; // to control park/unpark 232 if (w != null) { // waiters need at most one unpark 234 LockSupport.unpark(w); 509 volatile Thread waiter; // to control park/unpark 692 LockSupport.unpark(m.waiter);
|
H A D | ForkJoinPool.java | 299 * We park/unpark workers after placing in an event wait queue 313 * field of WorkQueues to reduce unnecessary calls to unpark. 332 * platforms, signalling (unpark) overhead time is noticeably 1422 U.unpark(p); 1621 U.unpark(p); 1783 U.unpark(p); 1942 U.unpark(p); 2257 U.unpark(wt); 2275 U.unpark(p);
|
H A D | ConcurrentHashMap.java | 2044 LockSupport.unpark(w);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldThreadTest.java | 119 LockSupport.unpark(parker);
|
/libcore/libart/src/main/java/java/lang/ |
H A D | Thread.java | 1161 public void unpark() { method in class:Thread 1169 * to unpark. 1193 * unpark and without the indicated amount of time elapsing). 1244 * method attempts to unpark the current thread immediately after 1249 * spuriously (that is, without the thread being told to unpark
|
Completed in 216 milliseconds