Y
Hacker News
new
|
ask
|
show
|
jobs
by
grigio
3851 days ago
Yeah, I've read somewhere it should be the default behavior in Go 1.5, but currently it isn't, at least not in my system.
If I don't specify it all the computation use just one core
1 comments
sudorandom
3851 days ago
This hasn't been my experience... You can also set that value using an environmental variable (GOMAXPROCS). You might want to make sure that isn't set in your environment. Otherwise, you might be experiencing a bug that you should probably report.
Reference:
https://golang.org/doc/go1.5
link
Reference: https://golang.org/doc/go1.5