Searched refs:delay (Results 1 – 5 of 5) sorted by relevance
45 for (long delay : DELAYS) { in doit()46 System.out.println("Waiting for " + delay + "ms..."); in doit()50 sleepy.wait(delay); in doit()60 long epsilon = delay / 10; in doit()65 long min = delay - epsilon; in doit()66 long max = delay + epsilon; in doit()
46 public static void LoopAllocFreeEnv(Semaphore sem, Semaphore delay) { in LoopAllocFreeEnv() argument49 delay.acquire(); in LoopAllocFreeEnv()68 final Semaphore delay = new Semaphore(0); in run() local69 Thread thr = new Thread(() -> { LoopAllocFreeEnv(sem, delay); }, "LoopNative"); in run()81 delay.release(); in run()
109 public MyThread(CountDownLatch delay, int id) { in MyThread() argument114 this.delay = delay; in MyThread()118 delay.countDown(); in run()143 public CountDownLatch delay; field in Test1995.MyThread
169 public MyThread(CountDownLatch delay, int id) { in MyThread() argument174 this.delay = delay; in MyThread()178 delay.countDown(); in run()205 public CountDownLatch delay; field in Test2001.MyThread
108 public MyThread(CountDownLatch delay, int id) { in MyThread() argument113 this.delay = delay; in MyThread()117 delay.countDown(); in run()144 public CountDownLatch delay; field in Test2005.MyThread