atomic

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int32

type Int32 int32

func (*Int32) Add

func (i *Int32) Add(delta int32) (new int32)

func (*Int32) CompareAndSwap

func (i *Int32) CompareAndSwap(old, new int32) (swapped bool)

func (*Int32) Load

func (i *Int32) Load() (val int32)

func (*Int32) Store

func (i *Int32) Store(val int32)

func (*Int32) Swap

func (i *Int32) Swap(new int32) (old int32)

Jump to

Keyboard shortcuts

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