The go runtime does its waiting (both for timers and network events) in 
netpoll.

On Friday, 17 April 2020 11:10:58 UTC+1, Vincent Blanchon wrote:
>
> Hi everyone,
>
> From what I understand, timers are ran by:
> - the P holding them
> - other P if timer-stealing happen (thanks to the async preemption that 
> should not happen often)
> - sysmon thread that, periodically, check if some timers have to run
>
> But, in the comments of the code, I have seen this sentence "Timers rely 
> on the network poller". I wonder how is it related to the net poller, I do 
> not get the relation here.
> Any help is appreciated :)
>
> Thank you
>

-- 
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/29019b79-6d4a-48d2-8f0d-823ffe085e2d%40googlegroups.com.

Reply via email to