gatomic

package
v0.0.0-...-97ebcb8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2023 License: Apache-2.0, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareAndSwapPointer

func CompareAndSwapPointer[T any](addr **T, old, new *T) (swapped bool)

func LoadInt32

func LoadInt32(x *int32) int32

func LoadPointer

func LoadPointer[T any](addr **T) *T

func StoreInt32

func StoreInt32(x *int32, v int32)

func StorePointer

func StorePointer[T any](addr **T, val *T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL