runtime.hchan.lock (field)
23 uses
runtime (current package)
chan.go#L50: lock mutex
chan.go#L112: lockInit(&c.lock, lockRankHchan)
chan.go#L200: lock(&c.lock)
chan.go#L203: unlock(&c.lock)
chan.go#L210: send(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L226: unlock(&c.lock)
chan.go#L231: unlock(&c.lock)
chan.go#L257: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanSend, traceEvGoBlockSend, 2)
chan.go#L360: lock(&c.lock)
chan.go#L362: unlock(&c.lock)
chan.go#L416: unlock(&c.lock)
chan.go#L508: lock(&c.lock)
chan.go#L514: unlock(&c.lock)
chan.go#L526: recv(c, sg, ep, func() { unlock(&c.lock) }, 3)
chan.go#L545: unlock(&c.lock)
chan.go#L550: unlock(&c.lock)
chan.go#L576: gopark(chanparkcommit, unsafe.Pointer(&c.lock), waitReasonChanReceive, traceEvGoBlockRecv, 2)
select.go#L39: lock(&c.lock)
select.go#L58: unlock(&c.lock)
select.go#L92: unlock(&lastc.lock)
select.go#L97: unlock(&lastc.lock)
stack.go#L805: lockWithRank(&sg.c.lock, lockRankHchanLeaf)
stack.go#L828: unlock(&sg.c.lock)
 |
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. |