5 ms·
Go runs on a single core if you use channels anyway unless you specify an environment variable (something like GO_MAX_PROCS). Not sure about threading libraries
by adgar 15y ago
Go runs on a single core if you use channels anyway unless you specify an environment variable (something like GO_MAX_PROCS). Not sure about threading libraries since I haven't really considered using them in Go. I'm actually curious what people are using them for in Go - maybe games?
- 4ad 15y agoGOMAXPROCS it is :-). It's a quick fixup, the runtime will eventually schedule on multiple threads without needing the user to specify anything.