func runtime.GOMAXPROCS
10 uses
runtime (current package)
debug.go#L16: func GOMAXPROCS(n int) int {
sync
pool.go#L226: size := runtime.GOMAXPROCS(0)
testing
allocs.go#L21: defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1))
benchmark.go#L558: runtime.GOMAXPROCS(procs)
benchmark.go#L602: if p := runtime.GOMAXPROCS(-1); p != procs {
benchmark.go#L768: numProcs := b.parallelism * runtime.GOMAXPROCS(0)
testing.go#L300: parallel = flag.Int("test.parallel", runtime.GOMAXPROCS(0), "run at most `n` tests in parallel")
testing.go#L1491: runtime.GOMAXPROCS(procs)
testing.go#L1726: cpuList = append(cpuList, runtime.GOMAXPROCS(-1))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |