Searched refs:parker (Results 1 – 3 of 3) sorted by relevance
53 Parker parker = new Parker(barrier, false, 500); in test_parkFor_1() local54 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() local69 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() local84 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 …]
105 final Thread parker = new Thread() { in test_joinWithSpuriousInterruption() local120 LockSupport.unpark(parker); in test_joinWithSpuriousInterruption()128 parker.start(); in test_joinWithSpuriousInterruption()130 parker.join(500, 500000); in test_joinWithSpuriousInterruption()
822 volatile Thread parker; // == owner during call to park; else null field in ForkJoinPool.WorkQueue1716 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()