- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TimedSemaphore (0.04 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} public void testTryAcquireTimeoutNoInterruptNotExpired() { TimedSemaphore semaphore = TimedSemaphore.createWithDelay(20); semaphore.tryAcquireSuccessfully(LONG_DELAY_MS); assertNotInterrupted(); } public void testTryAcquireTimeoutNoInterruptExpired() { TimedSemaphore semaphore = TimedSemaphore.createWithDelay(LONG_DELAY_MS); semaphore.tryAcquireUnsuccessfully(30);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0)