- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for waitForStart (0.24 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} }, directExecutor()); // Wait for the first task to be started in the background. It will block until we explicitly // stop it. blockingCallable.waitForStart(); // Give the second task a chance to (incorrectly) start up while the first task is running. assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} }, directExecutor()); // Wait for the first task to be started in the background. It will block until we explicitly // stop it. blockingCallable.waitForStart(); // Give the second task a chance to (incorrectly) start up while the first task is running. assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/ConcurrencyTest.java
/** * @param smbFile * */ public ExclusiveLockFirst ( SmbResource smbFile ) { this.file = smbFile; } public void waitForStart () throws InterruptedException { synchronized ( this.startedLock ) { while ( !this.started ) { this.startedLock.wait(); } } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0)