According to source code, schedule() function represents one round of 
scheduling. From here we are looking for local p queue (or sometimes global 
from sched for fairness), then find runnable g and execute it. As a 
standalone function, how do this function knows inside which p to perform a 
search? What is a sequence for starting this func? Is it launched from 
multiple os threads per each m attached to p?

-- 
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/975de519-3db8-496f-9d8c-dc7ba88209c6n%40googlegroups.com.

Reply via email to