func runtime.GOMAXPROCS
12 uses
runtime (current package)
debug.go#L16: func GOMAXPROCS(n int) int {
golang.org/x/tools/go/packages
packages.go#L1320: cpuLimit = make(chan unit, runtime.GOMAXPROCS(0))
sync
pool.go#L240: size := runtime.GOMAXPROCS(0)
testing
allocs.go#L21: defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
benchmark.go#L725: runtime.GOMAXPROCS(procs)
benchmark.go#L769: if p := runtime.GOMAXPROCS(-1); p != procs {
benchmark.go#L951: numProcs := b.parallelism * runtime.GOMAXPROCS(0)
fuzz.go#L488: runtime.GOMAXPROCS(procs)
testing.go#L472: parallel = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "run at most `n` tests in parallel")
testing.go#L2250: runtime.GOMAXPROCS(procs)
testing.go#L2521: cpuList = append(cpuList, runtime.GOMAXPROCS(-1))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)