Searched refs:sem_wait (Results 1 – 8 of 8) 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();
149 public final Semaphore sem_wait;153 sem_wait = new Semaphore(0);159 sem_wait.acquire();170 sem_wait.release();
146 public final Semaphore sem_wait;150 sem_wait = new Semaphore(0);156 sem_wait.acquire();167 sem_wait.release();