Re:A whirlwind tour of Go’s runtime environment variables
by kibwen on Sunday November 29, 2015 @12:19PM
(#10645246)
The fact that it's locked in at startup might be an implementation detail that they don't want people generally relying on, but I personally don't know if that's the case.
[ Parent
| on HN ]
Re:A whirlwind tour of Go’s runtime environment variables
by thrownaway2424 on Sunday November 29, 2015 @05:28PM
(#10646367)
That may be, but the docs for NumCPU are still just wrong. NumCPU does not return the number of logical processors in the machine. It returns the population count of the cpu mask, at the moment the runtime was initialized.