Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for startTheWorld (0.16 sec)

  1. src/runtime/debug.go

    	}
    
    	lock(&sched.lock)
    	ret := int(gomaxprocs)
    	unlock(&sched.lock)
    	if n <= 0 || n == ret {
    		return ret
    	}
    
    	stw := stopTheWorldGC(stwGOMAXPROCS)
    
    	// newprocs will be processed by startTheWorld
    	newprocs = int32(n)
    
    	startTheWorldGC(stw)
    	return ret
    }
    
    // NumCPU returns the number of logical CPUs usable by the current process.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-annotations.test

    String id=48
    	data="sync.(*WaitGroup).Done"
    String id=49
    	data="runtime.traceStartReadCPU"
    String id=50
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go"
    String id=51
    	data="runtime.startTheWorld"
    String id=52
    	data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/proc.go"
    String id=53
    	data="runtime/trace.(*Task).End"
    String id=54
    	data="runtime.traceLocker.Gomaxprocs"
    String id=55
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top