runtime.m.g0 (field)
36 uses
runtime (current package)
cgocall.go#L308: sched := &mp.g0.sched
cgocheck.go#L36: if g == g.m.g0 || g == g.m.gsignal {
lock_sema.go#L167: if gp != gp.m.g0 {
lock_sema.go#L279: if gp != gp.m.g0 {
lock_sema.go#L290: if gp == gp.m.g0 {
mgc.go#L1298: if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
mgcmark.go#L390: if getg() == gp.m.g0 {
mgcsweep.go#L291: if _g_.m.locks == 0 && _g_.m.mallocing == 0 && _g_ != _g_.m.g0 {
mgcsweep.go#L324: if _g_.m.locks == 0 && _g_.m.mallocing == 0 && _g_ != _g_.m.g0 {
os_darwin.go#L192: stk := unsafe.Pointer(mp.g0.stack.hi)
os_darwin.go#L194: print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n")
os_darwin.go#L212: mp.g0.stack.hi = stacksize // for mstart
panic.go#L1307: if gp != gp.m.g0 {
proc.go#L120: g.m.g0.racectx = 0
proc.go#L726: if _g_ != _g_.m.g0 {
proc.go#L1287: if _g_ != _g_.m.g0 {
proc.go#L1744: stackfree(freem.g0.stack)
proc.go#L1759: mp.g0 = malg(-1)
proc.go#L1761: mp.g0 = malg(8192 * sys.StackGuardMultiplier)
proc.go#L1763: mp.g0.m = mp
proc.go#L1856: setg(mp.g0)
proc.go#L2112: ts.g.set(mp.g0)
proc.go#L3427: gogo(&_g_.m.g0.sched)
proc.go#L5366: if gp == nil || gp == mp.g0 {
runtime2.go#L487: g0 *g // goroutine with scheduling stack
signal_unix.go#L486: if sp >= mp.g0.stack.lo && sp < mp.g0.stack.hi {
signal_unix.go#L497: st := stackt{ss_size: mp.g0.stack.hi - mp.g0.stack.lo}
signal_unix.go#L498: setSignalstackSP(&st, mp.g0.stack.lo)
signal_unix.go#L629: if _g_.m.lockedg != 0 && _g_.m.ncgo > 0 && gp == _g_.m.g0 {
stack.go#L332: if thisg != thisg.m.g0 {
stack.go#L945: print("runtime: newstack called from g=", hex(thisg.m.morebuf.g), "\n"+"\tm=", thisg.m, " m->curg=", thisg.m.curg, " m->g0=", thisg.m.g0, " m->gsignal=", thisg.m.gsignal, "\n")
stack.go#L1026: if gp == thisg.m.g0 {
traceback.go#L188: if flags&_TraceJumpStack != 0 && gp == gp.m.g0 && gp.m.curg != nil {
traceback.go#L215: if topofstack(f, gp.m != nil && gp == gp.m.g0) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |