Documentation
¶
Overview ¶
Package gomaxprocs synchronizes adjustments to GOMAXPROCS. When this package is active (i.e. after the first call to SetBase), it sets the value of GOMAXPROCS to a "base" value (which should be set by a single goroutine, without races) plus a non-negative "temporary" value (which may be concurrently increased or decreased by multiple goroutines).
Note that changing GOMAXPROCS stops the world, so callers should adjust GOMAXPROCS infrequently.
TODO: Add gomaxprocs.Get() and check that other gVisor packages don't call runtime.GOMAXPROCS() at all.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.