extern register
startcgocallback()
, endcgocallback()
in runtime/proc.c
, cgocallback()
in runtime/cgocall.c
, runcgocallback()
in runtime/386/asm.s
.runtime/windows/thread.c
syscall(…)
stdcall(…)
newosproc(…)
get_proc_addr(…)
, get_proc_addr2(…)
runtime/windows/sys.s
stdcall_raw(…)
get_kernel_module(…)
runtime/386/asm.h
get_tls(register)
runtime/windows/syscall.goc
goc2c.c
, Makefile
runtime/proc.c
tracebackothers(…)
, entersyscall(…)
runtime/cgocall.c
cgocall(…)
, cgocallback(…)
runtime/runtime.h
M
, G
, m
, g
M
structures that are running. Look at runtime·sched
for various useful counts and lists. (link)runtime·allg
and walk through the alllink field
. Don't count the ones whose status field == Gdead
. (link)