go:internals:notes_by_mc
Notes by MC
Links
-
-
other
notes, probably related
-
-
introduces startcgocallback()
, endcgocallback()
in runtime/proc.c
, cgocallback()
in runtime/cgocall.c
, runcgocallback()
in runtime/386/asm.s
.
-
-
-
Source files
Various quotes etc.
The number of goroutines actively running is the number of
M
structures that are running. Look at
runtime·sched
for various useful counts and lists.
(link)
To find the goroutines that exist, whether or not they are running, start at
runtime·allg
and walk through the
alllink field
. Don't count the ones whose status field
== Gdead
.
(link)
go/internals/notes_by_mc.txt · Last modified: 2020/11/23 17:23 (external edit)