- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for runAsWorkerThread (0.31 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy
return 0 } @Override WorkerLease getCurrentWorkerLease() { return workerLease() } @Override <T> T runAsWorkerThread(Factory<T> action) { return action.create() } @Override void runAsWorkerThread(Runnable action) { action.run() } @Override void runAsUnmanagedWorkerThread(Runnable action) { action.run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy
println "expecting ${expectedWorkerCount} concurrent work processors to be started..." when: def waitForCompletionThread = new Thread({ workerRegistry.runAsWorkerThread { runs.times { operationQueue.add(new SynchronizedBuildOperation(operationAction, startedLatch, releaseLatch)) } operationQueue.waitForCompletion() } })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java
/** * Run executions until there are none ready to be executed. */ private void runBatch(final ConditionalExecution<?> firstOperation) { workerLeaseService.runAsWorkerThread(new Runnable() { @Override public void run() { ConditionalExecution<?> operation = firstOperation; while (operation != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 7.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationExecutorParallelExecutionTest.groovy
}) } then: thrown(NoAvailableWorkerLeaseException) } def workerThread(Closure cl) { start { workerRegistry.runAsWorkerThread(cl) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 9.6K bytes - Viewed (0)