- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testTryLockInterruptedTimeoutNotExceeded (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
assertFalse(acquired); assertAtLeastTimePassed(stopwatch, 1000); assertInterrupted(); // finish locking thread lockThread.interrupt(); } public void testTryLockInterruptedTimeoutNotExceeded() { Stopwatch stopwatch = Stopwatch.createStarted(); Lock lock = new ReentrantLock(); acquireFor(lock, 1000, MILLISECONDS); requestInterruptIn(500);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0)