- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for selectNext (0.27 sec)
-
subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultPlanExecutorTest.groovy
then: 1 * cancellationHandler.isCancellationRequested() >> false 1 * workerLease.tryLock() >> true 1 * workSource.executionState() >> WorkSource.State.MaybeWorkReadyToStart 1 * workSource.selectNext() >> WorkSource.Selection.of(node) 1 * worker.execute(node) 1 * workSource.finishedExecuting(node, null) then: 1 * cancellationHandler.isCancellationRequested() >> false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 4.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/WorkSource.java
public interface WorkSource<T> { enum State { /** * There may be work ready to start. The worker thread should call {@link #selectNext()} to select the next item. * Note this does not mean that {@link #selectNext()} will necessarily return an item, only that it is likely to. * {@link #selectNext()} may not return an item, for example when some other worker thread takes the work. */ MaybeWorkReadyToStart,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 13 20:53:27 UTC 2022 - 7.5K bytes - Viewed (0)