- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for numblocks (0.22 sec)
-
android/guava/src/com/google/common/util/concurrent/OverflowAvoidingLockSupport.java
private OverflowAvoidingLockSupport() {} static void parkNanos(@CheckForNull Object blocker, long nanos) { // Even in the extremely unlikely event that a thread unblocks itself early after only 68 years, // this is indistinguishable from a spurious wakeup, which LockSupport allows. LockSupport.parkNanos(blocker, min(nanos, MAX_NANOSECONDS_THRESHOLD)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
interrupted = true; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } } /** Unblocks all threads and runs all listeners. */ private static void complete(AbstractFuture<?> param, boolean callInterruptTask) { // Declare a "true" local variable so that the Checker Framework will infer nullness.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0)