Apr 4, 2020

[Go] runtime.Goexit()

https://golang.org/pkg/runtime/#Goexit

It's been registered into call stack while gorouting being created and being called during stack rewinds.

Which notifies scheduler G0 to schedule next goroutin inside the P's queue to run.


Reference:
Assembly notes: http://vsdmars.blogspot.com/2017/11/assembly-note.html

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.