internal/runtime/atomic.UnsafePointer.CompareAndSwapNoWB (method)
5 uses
internal/runtime/atomic (current package)
types.go#L504: func (u *UnsafePointer) CompareAndSwapNoWB(old, new unsafe.Pointer) bool {
types.go#L562: return p.u.CompareAndSwapNoWB(unsafe.Pointer(old), unsafe.Pointer(new))
runtime
mgcmark_greenteagc.go#L572: if q2.chain.tail.CompareAndSwapNoWB(unsafe.Pointer(r), unsafe.Pointer(r2)) {
mheap.go#L2693: if m.CompareAndSwapNoWB(nil, unsafe.Pointer(newNode)) {
tracemap.go#L104: if m.CompareAndSwapNoWB(nil, unsafe.Pointer(newNode)) {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |