Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrGoMaxProcsFailure = errors.New("failed to set GOMAXPROCS")
)
Util vars
Functions ¶
func AdjustGoMaxProcs ¶
AdjustGoMaxProcs sets the runtime GOMAXPROCS val Since Go 1.5, Go will use the total number of logical processors that the system has available. Caveats to this are if someone has set the GOMAXPROCS env var set or wish to limit usage of the number of logical processors between a range from 1 to NumCPUs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.