- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for waitForCompletion (0.61 sec)
-
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/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-execution/workers/src/main/java/org/gradle/workers/internal/DefaultWorkerExecutor.java
try { if (asyncWorkTracker.hasUncompletedWork(currentOperation)) { executionQueue.expand(); } asyncWorkTracker.waitForCompletion(currentOperation, RETAIN_PROJECT_LOCKS); } catch (DefaultMultiCauseException e) { throw workerExecutionException(e.getCauses()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:17:07 UTC 2024 - 15.2K bytes - Viewed (0) -
pkg/util/goroutinemap/goroutinemap_test.go
} // Act waitDoneCh := make(chan interface{}, 1) go func() { grm.WaitForCompletion() waitDoneCh <- true }() // Finish the operation operation1DoneCh <- true // Assert that WaitForCompletion returns even if scheduled op had error err = waitChannelWithTimeout(waitDoneCh, testTimeout) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 14.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java
handlers.add(handler); last = handler.getWaitPrecondition(); return handler; } finally { lock.unlock(); } } public void waitForCompletion() { cancelBlockedRequests(); waitForRequestsToFinish(); lock.lock(); try { List<Throwable> failures = new ArrayList<Throwable>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java
workQueue.clear(); workAvailable.signalAll(); } finally { lock.unlock(); } } @Override public void waitForCompletion() throws MultipleBuildOperationFailures { signalNoMoreWork(); // Use this thread to process any work - this allows work to be executed using the
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 31 15:18:20 UTC 2023 - 10.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/execution/TaskExecution.java
} finally { action.clearInputChanges(); } try { asyncWorkTracker.waitForCompletion(currentOperation, hasMoreWork ? RELEASE_AND_REACQUIRE_PROJECT_LOCKS : RELEASE_PROJECT_LOCKS); } catch (Throwable t) { List<Throwable> failures = new ArrayList<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/framework_test.go
} // waitForIdle waits until all tests, controllers and other goroutines do their // job and no new actions are registered for 10 milliseconds. func (r *volumeReactor) waitForIdle() { r.ctrl.runningOperations.WaitForCompletion() // Check every 10ms if the controller does something and stop if it's // idle. oldChanges := -1 for { time.Sleep(10 * time.Millisecond) changes := r.GetChangeCount() if changes == oldChanges {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java
// when performed from a worker thread (see DefaultBuildOperationQueue.waitForCompletion() which intentionally does not release the project locks while waiting) // TODO - add validation to fail eagerly when a worker attempts to lock a project //
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 08:26:19 UTC 2024 - 34.8K bytes - Viewed (0)