atomic

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 1 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 struct {
	// contains filtered or unexported fields
}

Bool provides an atomic boolean type.

func MakeBool

func MakeBool(v bool) Bool

func NewBool

func NewBool(v bool) *Bool

func (*Bool) Load

func (b *Bool) Load() bool

func (*Bool) Store

func (b *Bool) Store(v bool)

type Uint32

type Uint32 struct {
	// contains filtered or unexported fields
}

Uint32 provides an atomic uint32 type.

func MakeUint32

func MakeUint32(v uint32) Uint32

func NewUint32

func NewUint32(v uint32) *Uint32

func (*Uint32) Load

func (u *Uint32) Load() uint32

func (*Uint32) Store

func (u *Uint32) Store(v uint32)

Jump to

Keyboard shortcuts

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