goroutine的go表达式的pc ... }; struct M { G* g0; // 带有调度栈的goroutine G* gsignal; // signal-handling
procid uint64 // for debuggers, but offset not hard-coded gsignal *g // signal-handling
procid uint64 // for debuggers, but offset not hard-coded gsignal *g // signal-handling
goroutine的go表达式的pc ... }; struct M { G* g0; // 带有调度栈的goroutine G* gsignal; // signal-handling
// for debuggers, but offset not hard-coded //处理signal的 g gsignal *g // signal-handling
Note the inclu-sion of an exit command in each of the signal-handling functions.
procid uint64 // for debuggers, but offset not hard-coded gsignal *g // signal-handling