- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tryLockUninterruptibly (0.1 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
import static com.google.common.util.concurrent.Uninterruptibles.tryAcquireUninterruptibly; import static com.google.common.util.concurrent.Uninterruptibles.tryLockUninterruptibly; import static java.util.concurrent.Executors.newFixedThreadPool; import static java.util.concurrent.Executors.newScheduledThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS;
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/src/com/google/common/util/concurrent/Uninterruptibles.java
*/ @J2ktIncompatible @GwtIncompatible // concurrency @IgnoreJRERequirement // Users will use this only if they're already using Duration. public static boolean tryLockUninterruptibly(Lock lock, Duration timeout) { return tryLockUninterruptibly(lock, toNanosSaturated(timeout), TimeUnit.NANOSECONDS); } /** * Invokes {@code lock.}{@link Lock#tryLock(long, TimeUnit) tryLock(timeout, unit)} * uninterruptibly.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0)