- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testMutualExclusion (0.12 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} private String waitFor() { return interruptible ? "waitFor" : "waitForUninterruptibly"; } private String leave() { return "leave"; } public final void testMutualExclusion() throws Exception { thread1.callAndAssertReturns(enter()); thread2.callAndAssertBlocks(enter()); thread1.callAndAssertReturns(leave()); thread2.assertPriorCallReturns(enter()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0)