func runtime.readgstatus
38 uses
runtime (current package)
heapdump.go#L359: dumpint(uint64(readgstatus(gp)))
heapdump.go#L409: status := readgstatus(gp) // The world is stopped so gp will not be in a scan state.
mgcmark.go#L133: "status", readgstatus(gp),
mgcmark.go#L199: status := readgstatus(gp) // We are not in a scan state
mgcmark.go#L212: selfScan := gp == userG && readgstatus(userG) == _Grunning
mgcmark.go#L696: if readgstatus(gp)&_Gscan == 0 {
mgcmark.go#L697: print("runtime:scanstack: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", hex(readgstatus(gp)), "\n")
mgcmark.go#L701: switch readgstatus(gp) &^ _Gscan {
mgcmark.go#L703: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mgcmark.go#L708: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
mprof.go#L729: return gp1 != gp && readgstatus(gp1) != _Gdead && !isSystemGoroutine(gp1, false)
panic.go#L1356: status := readgstatus(gp)
preempt.go#L106: if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
preempt.go#L123: switch s := readgstatus(gp); s {
preempt.go#L265: switch s := readgstatus(gp); s {
preempt.go#L344: return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
proc.go#L325: status := readgstatus(gp)
proc.go#L519: if readgstatus(gp) == _Gidle {
proc.go#L691: print("runtime: gp: gp=", gp, ", goid=", gp.goid, ", gp->atomicstatus=", readgstatus(gp), "\n")
proc.go#L692: print("runtime: g: g=", _g_, ", goid=", _g_.goid, ", g->atomicstatus=", readgstatus(_g_), "\n")
proc.go#L777: status := readgstatus(gp)
proc.go#L829: func readgstatus(gp *g) uint32 {
proc.go#L933: oldstatus := readgstatus(gp) &^ _Gscan
proc.go#L2452: status := readgstatus(_g_.m.lockedg.ptr())
proc.go#L3278: status := readgstatus(gp)
proc.go#L3327: status := readgstatus(gp)
proc.go#L4029: if readgstatus(newg) != _Gdead {
proc.go#L4137: if readgstatus(gp) != _Gdead {
proc.go#L5036: s := readgstatus(gp)
proc.go#L5464: print(" G", gp.goid, ": status=", readgstatus(gp), "(", gp.waitreason.String(), ") m=", id1, " lockedm=", id2, "\n")
signal_unix.go#L663: if crashing > 0 && gp != _g_.m.curg && _g_.m.curg != nil && readgstatus(_g_.m.curg)&^_Gscan == _Grunning {
stack.go#L1020: print("runtime: gp=", gp, ", goid=", gp.goid, ", gp->status=", hex(readgstatus(gp)), "\n ")
stack.go#L1130: if s := readgstatus(gp); s&_Gscan == 0 {
trace.go#L225: status := readgstatus(gp)
traceback.go#L724: if readgstatus(gp)&^_Gscan == _Gsyscall {
traceback.go#L880: gpstatus := readgstatus(gp)
traceback.go#L938: if gp == me || gp == curgp || readgstatus(gp) == _Gdead || isSystemGoroutine(gp, false) && level < 2 {
traceback.go#L947: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
 |
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. |