4 ms·
As far as I know, it should be enough with runtime.GOMAXPROCS(1) to run as single-threaded.
by im_dario 12y ago
As far as I know, it should be enough with runtime.GOMAXPROCS(1) to run as single-threaded.
- yepguy 12y agoNo, the runtime will still create new threads whenever you call a C function or syscall.