var runtime.newmHandoff
32 uses
runtime (current package)
proc.go#L1575: if atomic.Load(&newmHandoff.haveTemplateThread) != 0 {
proc.go#L1578: lock(&newmHandoff.lock)
proc.go#L1579: for !newmHandoff.waiting {
proc.go#L1580: unlock(&newmHandoff.lock)
proc.go#L1582: lock(&newmHandoff.lock)
proc.go#L1584: unlock(&newmHandoff.lock)
proc.go#L1655: lock(&newmHandoff.lock)
proc.go#L1656: if newmHandoff.waiting {
proc.go#L1657: newmHandoff.waiting = false
proc.go#L1658: notewakeup(&newmHandoff.wake)
proc.go#L1660: unlock(&newmHandoff.lock)
proc.go#L2049: var newmHandoff struct {
proc.go#L2090: lock(&newmHandoff.lock)
proc.go#L2091: if newmHandoff.haveTemplateThread == 0 {
proc.go#L2094: mp.schedlink = newmHandoff.newm
proc.go#L2095: newmHandoff.newm.set(mp)
proc.go#L2096: if newmHandoff.waiting {
proc.go#L2097: newmHandoff.waiting = false
proc.go#L2098: notewakeup(&newmHandoff.wake)
proc.go#L2100: unlock(&newmHandoff.lock)
proc.go#L2140: if !atomic.Cas(&newmHandoff.haveTemplateThread, 0, 1) {
proc.go#L2218: lock(&newmHandoff.lock)
proc.go#L2219: for newmHandoff.newm != 0 {
proc.go#L2220: newm := newmHandoff.newm.ptr()
proc.go#L2221: newmHandoff.newm = 0
proc.go#L2222: unlock(&newmHandoff.lock)
proc.go#L2229: lock(&newmHandoff.lock)
proc.go#L2231: newmHandoff.waiting = true
proc.go#L2232: noteclear(&newmHandoff.wake)
proc.go#L2233: unlock(&newmHandoff.lock)
proc.go#L2234: notesleep(&newmHandoff.wake)
proc.go#L4265: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
![]() |
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. |