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

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DLockSupport.java16 * Semaphore} class). A call to {@code park} will return immediately
22 * <p>Methods {@code park} and {@code unpark} provide efficient
26 * between one thread invoking {@code park} and another thread trying
28 * permit. Additionally, {@code park} will return if the caller's
30 * {@code park} method may also return at any other time, for "no
32 * conditions upon return. In this sense {@code park} serves as an
37 * <p>The three forms of {@code park} each also support a
48 * useful for most concurrency control applications. The {@code park}
52 * while (!canProceed()) { ... LockSupport.park(this); }}</pre>
55 * call to {@code park} entai
154 public static void park(Object blocker) { method in class:LockSupport
285 public static void park() { method in class:LockSupport
[all...]
/libcore/libart/src/main/java/sun/misc/
H A DUnsafe.java309 public void park(boolean absolute, long time) { method in class:Unsafe
/libcore/libdvm/src/main/java/sun/misc/
H A DUnsafe.java321 public void park(boolean absolute, long time) { method in class:Unsafe

Completed in 432 milliseconds