5 ms·
No, goroutines are preemptive. They avoid async hazards though of course introduce some different ones.
by throwaway81523 1y ago
No, goroutines are preemptive. They avoid async hazards though of course introduce some different ones.
- Yoric 1y agoTo be fair, it depends on the version of Go. Used to be well-hidden cooperative, these days it's preemptive.
- throwaway81523 1y agoIt changed for a reason.