func internal/runtime/atomic.CasRel
6 uses
internal/runtime/atomic (current package)
atomic_amd64.go#L114: func CasRel(ptr *uint32, old, new uint32) bool
types.go#L250: return CasRel(&u.value, old, new)
runtime
proc.go#L6821: if !atomic.CasRel(&pp.runqhead, h, h+n) { // cas-release, commits consume
proc.go#L6903: if atomic.CasRel(&pp.runqhead, h, h+1) { // cas-release, commits consume
proc.go#L6929: if !atomic.CasRel(&pp.runqhead, h, h+qn) { // cas-release, commits consume
proc.go#L6998: if atomic.CasRel(&pp.runqhead, h, h+n) { // cas-release, commits consume