func runtime.GOMAXPROCS
12 uses
runtime (current package)
debug.go#L70: 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#L24: defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
benchmark.go#L738: runtime.GOMAXPROCS(procs)
benchmark.go#L783: if p := runtime.GOMAXPROCS(-1); p != procs {
benchmark.go#L966: numProcs := b.parallelism * runtime.GOMAXPROCS(0)
fuzz.go#L489: runtime.GOMAXPROCS(procs)
testing.go#L478: parallel = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "run at most `n` tests in parallel")
testing.go#L2448: runtime.GOMAXPROCS(procs)
testing.go#L2719: cpuList = append(cpuList, runtime.GOMAXPROCS(-1))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)