1 // Copyright 2015 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
12 func Xadd(ptr *uint32, delta int32) uint32
15 func Xadd64(ptr *uint64, delta int64) uint64
18 func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
21 func Xchg(ptr *uint32, new uint32) uint32
24 func Xchg64(ptr *uint64, new uint64) uint64
27 func Xchguintptr(ptr *uintptr, new uintptr) uintptr
30 func Load(ptr *uint32) uint32
33 func Load64(ptr *uint64) uint64
36 func Loadp(ptr unsafe.Pointer) unsafe.Pointer
39 func Or8(ptr *uint8, val uint8)
42 func And8(ptr *uint8, val uint8)
45 func Cas64(ptr *uint64, old, new uint64) bool
48 func Store(ptr *uint32, val uint32)
51 func Store64(ptr *uint64, val uint64)
53 // NO go:noescape annotation; see atomic_pointer.go.
54 func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)