Searched refs:sem_wait (Results 1 – 11 of 11) sorted by relevance
41 public Semaphore sem_wait = new Semaphore(0); field in Test1917.ThreadPauser46 sem_wait.acquire(); in run()54 while (!sem_wait.hasQueuedThreads()) {} in waitForOtherThreadToPause()58 sem_wait.release(); in wakeupOtherThread()
132 public final Semaphore sem_wait; field in Test1923.ThreadPauser136 sem_wait = new Semaphore(0); in ThreadPauser()142 sem_wait.acquire(); in run()153 sem_wait.release(); in wakeupOtherThread()
132 public final Semaphore sem_wait; field in Test1924.ThreadPauser136 sem_wait = new Semaphore(0); in ThreadPauser()142 sem_wait.acquire(); in run()153 sem_wait.release(); in wakeupOtherThread()
141 public final Semaphore sem_wait; field in Test1926.ThreadPauser145 sem_wait = new Semaphore(0); in ThreadPauser()151 sem_wait.acquire(); in run()162 sem_wait.release(); in wakeupOtherThread()
87 public final Semaphore sem_wait;91 sem_wait = new Semaphore(0);97 sem_wait.acquire();108 sem_wait.release();
104 public final Semaphore sem_wait;108 sem_wait = new Semaphore(0);114 sem_wait.acquire();125 sem_wait.release();
121 public final Semaphore sem_wait;125 sem_wait = new Semaphore(0);131 sem_wait.acquire();142 sem_wait.release();
99 public final Semaphore sem_wait;104 sem_wait = new Semaphore(0);111 sem_wait.acquire();122 sem_wait.release();
144 public final Semaphore sem_wait;149 sem_wait = new Semaphore(0);156 sem_wait.acquire();167 sem_wait.release();
182 public final Semaphore sem_wait;186 sem_wait = new Semaphore(0);192 sem_wait.acquire();203 sem_wait.release();
152 public final Semaphore sem_wait;156 sem_wait = new Semaphore(0);162 sem_wait.acquire();173 sem_wait.release();