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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java46 * it <em>may</em> block. A call to {@code unpark} makes the permit
50 * to control when to park or unpark. Orderings of calls to these
54 * <p>Methods {@code park} and {@code unpark} provide efficient
59 * to {@code unpark} it will preserve liveness, due to the
66 * spinning, but must be paired with an {@code unpark} to be
85 * // ensure request to unpark is visible to other threads
90 * where no actions by the thread publishing a request to unpark,
94 * loading, could lead to an unresponsive thread (a "lost unpark").
126 * LockSupport.unpark(waiters.peek());
130 * // Reduce the risk of "lost unpark" du
154 public static void unpark(Thread thread) { method in class:LockSupport
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DUnsafe.java342 * a previous call to {@link #unpark}. This method may also return
343 * spuriously (that is, without the thread being told to unpark
368 * @param obj non-null; the object to unpark
370 public void unpark(Object obj) { method in class:Unsafe
372 ((Thread) obj).unpark$();
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java2078 public final void unpark$() {
2086 * to unpark.
2110 * unpark and without the indicated amount of time elapsing).
2161 * method attempts to unpark the current thread immediately after
2166 * spuriously (that is, without the thread being told to unpark

Completed in 126 milliseconds