3 ms·
But they aren't "preemptively scheduled concurrent execution sharing memory". They are "cooperatively scheduled concurrent execution sharing memory".
by skelterjohn 15y ago
But they aren't "preemptively scheduled concurrent execution sharing memory".
They are "cooperatively scheduled concurrent execution sharing memory".
- 4ad 15y agoThe current implementations are cooperatively scheduled, but nothing in the specification prevents a preemptively scheduled implementation. After all, gccgo had a preemptively scheduled implementation until a few months ago. That being said, I prefer my goroutines to be cooperatively scheduled.