Searched defs:park (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java17 * Semaphore} class). A call to {@code park} will return immediately
23 * <p>Methods {@code park} and {@code unpark} provide efficient
27 * between one thread invoking {@code park} and another thread trying
29 * permit. Additionally, {@code park} will return if the caller's
31 * {@code park} method may also return at any other time, for "no
33 * conditions upon return. In this sense {@code park} serves as an
38 * <p>The three forms of {@code park} each also support a
49 * useful for most concurrency control applications. The {@code park}
53 * while (!canProceed()) { ... LockSupport.park(this); }}</pre>
56 * call to {@code park} entai
156 public static void park(Object blocker) { method in class:LockSupport
287 public static void park() { method in class:LockSupport
[all...]
/libcore/luni/src/main/java/sun/misc/
H A DUnsafe.java319 public void park(boolean absolute, long time) { method in class:Unsafe

Completed in 127 milliseconds