Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
casualsuperman2
· 14y ago · 0 comments
The current weekly release has (and Go v1 will have) runtime.NumCPU() so you can do runtime.GOMAXPROCS(runtime.NumCPU())
Comments
[–]
saucetenuto
14y ago
Is that the default? If not, why not?