Home
last modified time | relevance | path

Searched refs:parker (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java53 Parker parker = new Parker(barrier, false, 500); in test_parkFor_1() local
54 Thread parkerThread = new Thread(parker); in test_parkFor_1()
60 parker.assertDurationIsInRange(500); in test_parkFor_1()
68 Parker parker = new Parker(barrier, false, 1000); in test_parkFor_2() local
69 Thread parkerThread = new Thread(parker); in test_parkFor_2()
75 parker.assertDurationIsInRange(300); in test_parkFor_2()
83 Parker parker = new Parker(barrier, false, 1000); in test_parkFor_3() local
84 parker.disableRetry(); in test_parkFor_3()
85 Thread parkerThread = new Thread(parker); in test_parkFor_3()
89 parker.assertDurationIsInRange(0); in test_parkFor_3()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java105 final Thread parker = new Thread() { in test_joinWithSpuriousInterruption() local
120 LockSupport.unpark(parker); in test_joinWithSpuriousInterruption()
128 parker.start(); in test_joinWithSpuriousInterruption()
130 parker.join(500, 500000); in test_joinWithSpuriousInterruption()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java822 volatile Thread parker; // == owner during call to park; else null field in ForkJoinPool.WorkQueue
1716 LockSupport.unpark(v.parker); in signalWork()
1740 LockSupport.unpark(v.parker); in tryRelease()
1768 LockSupport.unpark(v.parker); in tryReactivate()
1809 w.parker = Thread.currentThread(); in awaitWork()
1812 w.parker = null; in awaitWork()
1840 w.parker = Thread.currentThread(); in timedAwaitWork()
1843 w.parker = null; in timedAwaitWork()
1908 LockSupport.unpark(v.parker); in tryDropSpare()