Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for onStarted (0.23 sec)

  1. test/fixedbugs/issue25897a.go

    // Make sure the runtime can scan args of an unstarted goroutine
    // which starts with a reflect-generated function.
    
    package main
    
    import (
    	"reflect"
    	"runtime"
    )
    
    const N = 100
    
    func main() {
    	runtime.GOMAXPROCS(1)
    	// Run GC in a loop. This makes it more likely GC will catch
    	// an unstarted goroutine then if we were to GC after kicking
    	// everything off.
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 19:04:48 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy

            when:
            operationQueue.waitForCompletion()
    
            then:
            MultipleBuildOperationFailures e = thrown()
            e.message.contains(LOG_LOCATION)
        }
    
        def "when queue is canceled, unstarted operations do not execute (#runs runs, #threads threads)"() {
            def expectedInvocations = Math.min(runs, threads)
            CountDownLatch startedLatch = new CountDownLatch(expectedInvocations)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top