as we know,  call function gogo can jump to other other goroutine. when 
goroutine1 switch to goroutine2 it must save the current context of 
goroutine1(sp pc. so). i can find the function runtime·gosave to save 
current context, but i cann't find where the code call gosave, can some 
explain when context switch where is the to call gosave, or maybe context 
save is in other code? 
if it call gosave to save context, what is the possible stack when call 
gosave?

-- 
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/6b393a0e-d626-48d2-a09f-03aa6ba5e2e5n%40googlegroups.com.

Reply via email to