atomic

package
v0.0.0-...-af59c4b Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicBool

type AtomicBool int32

func NewAtomicBool

func NewAtomicBool(ok bool) *AtomicBool

func (*AtomicBool) Get

func (atomicBool *AtomicBool) Get() bool

func (*AtomicBool) GetAndSet

func (atomicBool *AtomicBool) GetAndSet(b bool) bool

func (*AtomicBool) Set

func (atomicBool *AtomicBool) Set(b bool)

type AtomicFloat64

type AtomicFloat64 uint64

func NewAtomicFloat64

func NewAtomicFloat64(value float64) *AtomicFloat64

func (*AtomicFloat64) Get

func (atomicFloat64 *AtomicFloat64) Get() float64

func (*AtomicFloat64) Set

func (atomicFloat64 *AtomicFloat64) Set(f float64)

Jump to

Keyboard shortcuts

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