- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for requestInterruptIn (0.43 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
public void testJoinSingleInterrupt() { TimedThread thread = TimedThread.createWithDelay(50); requestInterruptIn(10); thread.joinSuccessfully(); assertInterrupted(); } public void testJoinTimeoutSingleInterruptNoExpire() { TimedThread thread = TimedThread.createWithDelay(50); requestInterruptIn(10); thread.joinSuccessfully(LONG_DELAY_MS); assertInterrupted(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
} } void stopInterrupting() { shouldStop = true; } } /** Interrupts the current thread after sleeping for the specified delay. */ static void requestInterruptIn(long time, TimeUnit unit) { checkNotNull(unit); Thread interruptee = Thread.currentThread(); new Thread( new Runnable() { @Override public void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
} } void stopInterrupting() { shouldStop = true; } } /** Interrupts the current thread after sleeping for the specified delay. */ static void requestInterruptIn(long time, TimeUnit unit) { checkNotNull(unit); Thread interruptee = Thread.currentThread(); new Thread( new Runnable() { @Override public void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0)