Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for action2Start (0.09 sec)

  1. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            given:
            def action1 = {
                instant.action1Start
                thread.block()
                instant.action1End
            }
            def action2 = {
                instant.action2Start
            }
    
            when:
            start {
                synchronizer.runNow(action1)
            }
            async {
                thread.blockUntil.action1Start
                synchronizer.runNow(action2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top