On Sun, Oct 2, 2022 at 3:00 PM Robert Engels <reng...@ix.netcom.com> wrote:

> They are still non-preemptive. Even the way preemption is implemented is 
> cooperative.

Goroutines are preempted in a thread signal handler that invokes the
Go runtime scheduler that in turn saves the required goroutine state
and switches the execution context to a different goroutine, if
available.

Which part of that do you call "cooperative"?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-Vw8YixifiETd2VuAMZyGDfJbr7NeuBtU78BHgPzCxRrQ%40mail.gmail.com.

Reply via email to