Searched defs:unpark (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java17 * it <em>may</em> block. A call to {@code unpark} makes the permit
21 * to control when to park or unpark. Orderings of calls to these
25 * <p>Methods {@code park} and {@code unpark} provide efficient
30 * to {@code unpark} it will preserve liveness, due to the
37 * spinning, but must be paired with an {@code unpark} to be
56 * // ensure request to unpark is visible to other threads
61 * where no actions by the thread publishing a request to unpark,
65 * loading, could lead to an unresponsive thread (a "lost unpark").
97 * LockSupport.unpark(waiters.peek());
101 * // Reduce the risk of "lost unpark" du
125 public static void unpark(Thread thread) { method in class:LockSupport
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java309 * a previous call to {@link #unpark}. This method may also return
310 * spuriously (that is, without the thread being told to unpark
335 * @param obj non-null; the object to unpark
337 public void unpark(Object obj) { method in class:Unsafe
339 ((Thread) obj).unpark$();
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java2068 public final void unpark$() {
2076 * to unpark.
2100 * unpark and without the indicated amount of time elapsing).
2151 * method attempts to unpark the current thread immediately after
2156 * spuriously (that is, without the thread being told to unpark

Completed in 907 milliseconds