▲ | throwaway81523 2 days ago | |||||||
No, goroutines are preemptive. They avoid async hazards though of course introduce some different ones. | ||||||||
▲ | Yoric 2 days ago | parent [-] | |||||||
To be fair, it depends on the version of Go. Used to be well-hidden cooperative, these days it's preemptive. | ||||||||
|