const sync.mutexWaiterShift
8 uses
sync (current package)
mutex.go#L40: mutexWaiterShift = iota
mutex.go#L97: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L112: new += 1 << mutexWaiterShift
mutex.go#L146: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
mutex.go#L149: delta := int32(mutexLocked - 1<<mutexWaiterShift)
mutex.go#L150: if !starving || old>>mutexWaiterShift == 1 {
mutex.go#L207: if old>>mutexWaiterShift == 0 || old&(mutexLocked|mutexWoken|mutexStarving) != 0 {
mutex.go#L211: new = (old - 1<<mutexWaiterShift) | mutexWoken
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)