const sync.mutexWoken
8 uses
sync (current package)
mutex.go#L38: mutexWoken
mutex.go#L97: if !awoke && old&mutexWoken == 0 && old>>mutexWaiterShift != 0 &&
mutex.go#L98: atomic.CompareAndSwapInt32(&m.state, old, old|mutexWoken) {
mutex.go#L124: if new&mutexWoken == 0 {
mutex.go#L127: new &^= mutexWoken
mutex.go#L146: if old&(mutexLocked|mutexWoken) != 0 || old>>mutexWaiterShift == 0 {
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.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. |