3 ms·
go 1.2 has preemptive scheduling http://golang.org/doc/go1.2#preemption http://golang.org/doc/go1.2#preemption
by kapilvt 13y ago
go 1.2 has preemptive scheduling http://golang.org/doc/go1.2#preemption http://golang.org/doc/go1.2#preemption
- jerf 13y agoIn fairness, it's worth pointing out that Go 1.2 has partial preemption. Preemption is still checked only on function entry. However, unlike something like Node, this is not built in the language semantics, it's a characteristic of the runtime, and I imagine over time this will be fixed.
- voidlogic 13y ago>Preemption is still checked only on function entry. And I believe also heap allocation... the two cases together make what is still "partial preemption" pretty damn effective.