go/doc/next/6-stdlib/99-minor/runtime/73193.md

311 B

The new [SetDefaultGOMAXPROCS] function sets GOMAXPROCS to the runtime default value, as if the GOMAXPROCS environment variable is not set. This is useful for enabling the new GOMAXPROCS default if it has been disabled by the GOMAXPROCS environment variable or a prior call to [GOMAXPROCS].