runtime.note.key (field)
12 uses
runtime (current package)
lock_sema.go#L136: atomic.Storeuintptr(&n.key, 0)
lock_sema.go#L138: n.key = 0
lock_sema.go#L145: v = atomic.Loaduintptr(&n.key)
lock_sema.go#L146: if atomic.Casuintptr(&n.key, v, locked) {
lock_sema.go#L171: if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
lock_sema.go#L173: if n.key != locked {
lock_sema.go#L185: for atomic.Loaduintptr(&n.key) == 0 {
lock_sema.go#L202: if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
lock_sema.go#L204: if n.key != locked {
lock_sema.go#L255: v := atomic.Loaduintptr(&n.key)
lock_sema.go#L259: if atomic.Casuintptr(&n.key, v, 0) {
runtime2.go#L195: key uintptr
![]() |
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. |