- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for waitForCompletion (0.24 sec)
-
platforms/documentation/docs/src/snippets/workerApi/waitForCompletion/tests/waitForCompletion.sample.conf
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 38 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/work/DefaultAsyncWorkTrackerTest.groovy
workerThread { asyncWorkTracker.waitForCompletion(operation1, RELEASE_PROJECT_LOCKS) } thread.blockUntil.waitStarted workerThread { try { asyncWorkTracker.registerWork(operation1, new AsyncWorkCompletion() { @Override void waitForCompletion() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 06 04:53:10 UTC 2023 - 14.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/work/AsyncWorkTracker.java
* @param completion - The completion of the asynchronous work * @throws IllegalStateException when new work is submitted for an operation while another thread is waiting in {@link #waitForCompletion(BuildOperationRef, ProjectLockRetention)} for the same operation. */ void registerWork(BuildOperationRef operation, AsyncWorkCompletion completion); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 11:22:05 UTC 2024 - 3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy
given: setupQueue(threads) def success = Mock(TestBuildOperation) when: runs.times { operationQueue.add(success) } and: operationQueue.waitForCompletion() then: runs * success.run(_) where: runs | threads 0 | 1 0 | 4 0 | 10 1 | 1 1 | 4
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 9.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuterTest.groovy
then: 1 * action1.execute(task) >> { assert state.executing } then: 1 * action1.clearInputChanges() then: 1 * asyncWorkTracker.waitForCompletion(_, RELEASE_AND_REACQUIRE_PROJECT_LOCKS) then: 1 * standardOutputCapture.stop() then: 1 * standardOutputCapture.start() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 19.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationQueue.java
* <p> * The queue is active in that operations are potentially executed as soon as they are added. * The queue is single use in that no further work can be added once {@link #waitForCompletion()} has completed. * <p> * A queue instance is threadsafe. Build operations can submit further operations to the queue but must not block waiting for them to complete. * * @param <T> type of build operations to hold
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/work/DefaultAsyncWorkTracker.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6K bytes - Viewed (0) -
pkg/util/goroutinemap/goroutinemap.go
// and evaluate results after that. Wait() // WaitForCompletion blocks until either all operations have successfully completed // or have failed but are not pending. The test should wait until operations are either // complete or have failed. WaitForCompletion() // IsOperationPending returns true if the operation is pending (currently // running), otherwise returns false.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 6.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/work/AsyncWorkCompletion.java
/** * Represents the completion of an item of asynchronous work */ public interface AsyncWorkCompletion { /** * Block until the work item has completed. */ void waitForCompletion(); /** * Returns true if the work item is completed. */ boolean isComplete(); /** * Cancels this work item. */ void cancel();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 14 16:55:12 UTC 2018 - 1017 bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorParallelTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 14:22:31 UTC 2024 - 6.5K bytes - Viewed (0)