atomic

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool uint32 // zero value represents false

func (*Bool) CompareAndSwap

func (b *Bool) CompareAndSwap(old, new bool) (swapped bool)

func (*Bool) Load

func (b *Bool) Load() (val bool)

func (*Bool) Store

func (b *Bool) Store(val bool)

func (*Bool) Swap

func (b *Bool) Swap(new bool) (old bool)

Jump to

Keyboard shortcuts

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