runtime.m.preemptoff (field)
19 uses
runtime (current package)
mgc.go#L1298: if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
mgc.go#L1561: getg().m.preemptoff = "gcing"
mgc.go#L1590: getg().m.preemptoff = ""
mgc.go#L1636: mp.preemptoff = "gcing"
mgc.go#L1688: mp.preemptoff = ""
mgc.go#L1883: gp.m.preemptoff = "GC worker init"
mgc.go#L1885: gp.m.preemptoff = ""
mgcmark.go#L393: if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
panic.go#L900: if gp.m.preemptoff != "" {
panic.go#L905: print(gp.m.preemptoff)
panic.go#L1353: if _m_.locks != 0 || _m_.mallocing != 0 || _m_.throwing != 0 || _m_.preemptoff != "" || _m_.dying != 0 {
preempt.go#L288: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L983: gp.m.preemptoff = reason
proc.go#L1021: mp.preemptoff = ""
proc.go#L4524: if mp.preemptoff != "" {
proc.go#L5448: print(" M", mp.id, ": p=", id1, " curg=", id2, " mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, ""+" locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=", id3, "\n")
runtime2.go#L506: preemptoff string // if != "", keep curg running on this m
stack.go#L363: if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
stack.go#L460: if stackNoCache != 0 || gp.m.p == 0 || gp.m.preemptoff != "" {
 |
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. |