On Mon, Feb 1, 2021 at 4:07 PM Wojciech S. Czarnecki <[email protected]> wrote:
>
> Dnia 2021-02-01, o godz. 11:12:22
> Ian Lance Taylor <[email protected]> napisał(a):
>
> > On Mon, Feb 1, 2021 at 9:33 AM 颜文泽 <[email protected]> wrote:
>
> > > go version go1.13 linux/amd64
>
> > Goroutines that run for a long time without yielding the processor are 
> > preempted.
>
> Since go1.14 TMK. OP is using 1.13.

In Go 1.14 and later they are preempted by signals.  Before Go 1.14
they were still preempted, it just happened when making a function
call (which meant that the preemption could be arbitrarily delayed).

Ian

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcV2HOHCWJquuMnHRTBS7qYpEE%3DoXUNF-Y6PNwg0hZwoBg%40mail.gmail.com.

Reply via email to