/libcore/luni/src/main/java/java/util/concurrent/locks/ |
LockSupport.java | 16 * 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} entail locking or blocking. Because only on 154 public static void park(Object blocker) { method in class:LockSupport 285 public static void park() { method in class:LockSupport [all...] |
AbstractQueuedLongSynchronizer.java | 150 * blocked (via park), so the current node must 322 * rather than to use timed park. A rough estimate suffices 547 * to signal it, so it can safely park. 562 * need a signal, but don't park yet. Caller will need to 578 * Convenience method to park and then check if interrupted 583 LockSupport.park(this); [all...] |
AbstractQueuedSynchronizer.java | 380 * blocked (via park), so the current node must 552 * rather than to use timed park. A rough estimate suffices 777 * to signal it, so it can safely park. 792 * need a signal, but don't park yet. Caller will need to [all...] |
/art/test/067-preemptive-unpark/src/ |
Main.java | 23 System.out.println("Asking thread to park"); 95 UNSAFE.park(false, 500 * 1000000); // 500 msec 99 System.out.println("park()ed for " + elapsed + " msec"); 102 System.out.println("park() returned quickly");
|
/dalvik/tests/067-preemptive-unpark/src/ |
Main.java | 23 System.out.println("Asking thread to park"); 95 UNSAFE.park(false, 500 * 1000000); // 500 msec 99 System.out.println("park()ed for " + elapsed + " msec"); 102 System.out.println("park() returned quickly");
|
/device/asus/flo/ |
BoardConfigCommon.mk | 32 BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=flo user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3
|
/libcore/libart/src/main/java/sun/misc/ |
Unsafe.java | 309 public void park(boolean absolute, long time) { method in class:Unsafe
|
/libcore/libdvm/src/main/java/sun/misc/ |
Unsafe.java | 321 public void park(boolean absolute, long time) { method in class:Unsafe
|
/libcore/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/ |
ThreadsTest.java | 27 * Tests for the <code>park()</code> functionality of {@link Unsafe}. 50 /** Test the case where the park times out. */ 92 /** Test the case where the park times out. */ 165 * either case, this constructor takes a duration to park for 188 UNSAFE.park(true, start + amount); 190 UNSAFE.park(false, amount);
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Exchanger.java | 133 * some park/unpark mechanics compared to LockSupport versions. 377 U.park(false, ns); 478 U.park(false, ns);
|
FutureTask.java | 400 LockSupport.park(this);
|
SynchronousQueue.java | 105 * Blocking is mainly accomplished using LockSupport park/unpark, 175 * rather than to use timed park. A rough estimate suffices. 204 volatile Thread waiter; // to control park/unpark 391 * to be at the head of the stack, calls to park are 425 s.waiter = w; // establish waiter so can park next iter 427 LockSupport.park(this); 509 volatile Thread waiter; // to control park/unpark 731 LockSupport.park(this); [all...] |
Phaser.java | [all...] |
LinkedTransferQueue.java | 459 * follows either CAS or return from park (if ever parked; [all...] |
ForkJoinPool.java | 289 * We park/unpark workers after placing in an event wait queue 311 * before any call to park, so that park does not immediately [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 109 LockSupport.park();
|
/external/chromium_org/chrome/test/functional/ |
perf.py | [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |