func runtime/internal/atomic.Casuintptr
19 uses
runtime/internal/atomic (current package)
stubs.go#L18: func Casuintptr(ptr *uintptr, old, new uintptr) bool
runtime
debuglog.go#L87: if atomic.Casuintptr(headp, head, uintptr(unsafe.Pointer(l))) {
lock_sema.go#L47: if atomic.Casuintptr(&l.key, 0, locked) {
lock_sema.go#L63: if atomic.Casuintptr(&l.key, v, v|locked) {
lock_sema.go#L79: if atomic.Casuintptr(&l.key, v, uintptr(unsafe.Pointer(gp.m))|locked) {
lock_sema.go#L108: if atomic.Casuintptr(&l.key, locked, 0) {
lock_sema.go#L115: if atomic.Casuintptr(&l.key, v, uintptr(mp.nextwaitm)) {
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#L202: if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
lock_sema.go#L259: if atomic.Casuintptr(&n.key, v, 0) {
malloc.go#L1367: if atomic.Casuintptr((*uintptr)(unsafe.Pointer(&persistentChunks)), chunks, uintptr(unsafe.Pointer(persistent.base))) {
mheap.go#L765: if atomic.Casuintptr(&h.reclaimCredit, credit, credit-take) {
mheap.go#L1004: if atomic.Casuintptr(&ha.zeroedBase, zeroedBase, arenaLimit) {
netpoll.go#L396: r := atomic.Casuintptr((*uintptr)(gpp), pdWait, uintptr(unsafe.Pointer(gp)))
netpoll.go#L429: if atomic.Casuintptr(gpp, 0, pdWait) {
netpoll.go#L468: if atomic.Casuintptr(gpp, old, new) {
proc.go#L2029: if atomic.Casuintptr(&extram, old, locked) {
runtime2.go#L269: return atomic.Casuintptr((*uintptr)(unsafe.Pointer(gp)), uintptr(old), uintptr(new))
 |
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. |