Searched refs:parker (Results 1 – 2 of 2) 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()