runtime.g.waiting (field)
18 uses
runtime (current package)
chan.go#L249: gp.waiting = mysg
chan.go#L265: if mysg != gp.waiting {
chan.go#L268: gp.waiting = nil
chan.go#L565: gp.waiting = mysg
chan.go#L579: if mysg != gp.waiting {
chan.go#L582: gp.waiting = nil
runtime2.go#L468: waiting *sudog // sudog structures this g is waiting on (that have a valid elem ptr); in lock order
select.go#L84: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
select.go#L290: if gp.waiting != nil {
select.go#L293: nextp = &gp.waiting
select.go#L343: sglist = gp.waiting
select.go#L345: for sg1 := gp.waiting; sg1 != nil; sg1 = sg1.waitlink {
select.go#L350: gp.waiting = nil
stack.go#L762: for s := gp.waiting; s != nil; s = s.waitlink {
stack.go#L775: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L788: if gp.waiting == nil {
stack.go#L794: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
stack.go#L826: for sg := gp.waiting; sg != nil; sg = sg.waitlink {
![]() |
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. |