3 ms·
You're right, it's generally not an issue. Acting like Goroutines are preemptive isn't likely to land you in a lot of trouble. Nevertheless, they aren't preemp
by burntsushi 13y ago
You're right, it's generally not an issue. Acting like Goroutines are preemptive isn't likely to land you in a lot of trouble.
Nevertheless, they aren't preemptive, so you shouldn't say that they are. Maybe "almost preemptive"?
- aaronblohowiak 13y ago:) I like that phrasing, it gets to the main result (you shouldnt ever worry about it) while still giving you the out that more leaks under the covers (in case you think this might be biting you.)
- pcwalton 13y agoIf you use libgreen in Rust, you don't even have the preemption at function calls, and it works OK. I agree that this isn't much of an issue in practice.