- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 720 for Instant (0.12 sec)
-
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy
instant.willStop executor.stop() instant.stopped } then: instant.stopped > instant.completed1 instant.stopped > instant.completed2 } def factoryStopBlocksUntilAllScheduledRunningJobsAreCompleted() { given: def action1 = { instant.started1 thread.blockUntil.willStop thread.block()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubTest.groovy
instant.message1Dispatched < instant.message2Dispatched instant.message2Dispatched < instant.longDispatched cleanup: connection.stop() } def "queued outgoing messages are dispatched asynchronously to connection when connection is added"() { RemoteConnection<InterHubMessage> outgoing = Mock()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 21.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 13.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceProjectLockTest.groovy
workerLeaseService.withLocks([taskLease]) { instant.worker1Locked thread.block() instant.worker1Unlocked } } start { thread.blockUntil.worker1Locked workerLeaseService.withLocks([taskLease]) { instant.worker2Locked assert lockIsHeld(taskLease)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 25.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy
state.applyToMutableState { assert state.hasMutableState() instant.thread2 } assert !state.hasMutableState() } } then: instant.thread2 > instant.thread1 } def "a given thread can only access the state of one project at a time"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 24.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/work/DefaultAsyncWorkTrackerTest.groovy
instant."worker${i}Started" } } 5.times { i -> thread.blockUntil."worker${i}Started" } workerThread { instant.waitStarted asyncWorkTracker.waitForCompletion(operation, RELEASE_PROJECT_LOCKS) instant.waitFinished }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 06 04:53:10 UTC 2023 - 14.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy
} then: instant.bReceived > instant.aHandled } def notifyDoesNotBlockWhenAnotherThreadIsNotifyingOnDifferentType() { given: def listener1 = { String p -> instant.aReceived thread.block() instant.aHandled } as TestFooListener def listener2 = { instant.bReceived } as TestBarListener
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 29.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy
instant.dispatched < instant.resultAvailable instant.resultAvailable < instant.resultReceived } def "run() blocks until build is finished"() { given: asyncConnection.run(!null, !null) >> { args -> def handler = args[1] start { thread.block() instant.resultAvailable handler.onComplete(null) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy
when: async { start { cacheAccess.withFileLock { instant.action1 thread.blockUntil.action2 } } start { cacheAccess.withFileLock { instant.action2 thread.blockUntil.action1 } } } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 21.8K bytes - Viewed (0)