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.
Read more here: https://news.ycombinator.com/item?id=10646367
thrownaway2424 comments on "A whirlwind tour of Go’s runtime environment variables"
No comments:
Post a Comment