Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The current weekly release has (and Go v1 will have) runtime.NumCPU() so you can do runtime.GOMAXPROCS(runtime.NumCPU())


Is that the default? If not, why not?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: