Searched refs:mSemaphore (Results 1 – 1 of 1) sorted by relevance
119 private Semaphore mSemaphore = new Semaphore(1); field in SubprocessTestResultsParser.EventReceiverThread136 if (mSemaphore.tryAcquire(permits, millis, TimeUnit.MILLISECONDS)) { in await()137 mSemaphore.release(permits); in await()163 mSemaphore.acquire(); // connected: 0 permits available, all joins will wait in run()182 mSemaphore.release(2); // finished: 2 permits available, all joins succeed in run()