easyatomics

package module
v0.0.0-...-52682e1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: MIT Imports: 1 Imported by: 1

README

easyatomics

Simple golang Atomics

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicInt32

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

func (*AtomicInt32) Dec

func (at *AtomicInt32) Dec() int32

func (*AtomicInt32) DecBy

func (at *AtomicInt32) DecBy(i int32) int32

func (*AtomicInt32) Get

func (at *AtomicInt32) Get() int32

func (*AtomicInt32) Inc

func (at *AtomicInt32) Inc() int32

func (*AtomicInt32) IncBy

func (at *AtomicInt32) IncBy(i int32) int32

func (*AtomicInt32) Set

func (at *AtomicInt32) Set(i int32) int32

type AtomicInt64

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

func (*AtomicInt64) Dec

func (at *AtomicInt64) Dec() int64

func (*AtomicInt64) DecBy

func (at *AtomicInt64) DecBy(i int64) int64

func (*AtomicInt64) Get

func (at *AtomicInt64) Get() int64

func (*AtomicInt64) Inc

func (at *AtomicInt64) Inc() int64

func (*AtomicInt64) IncBy

func (at *AtomicInt64) IncBy(i int64) int64

func (*AtomicInt64) Set

func (at *AtomicInt64) Set(i int64) int64

type AtomicUint32

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

func (*AtomicUint32) Dec

func (at *AtomicUint32) Dec() uint32

func (*AtomicUint32) DecBy

func (at *AtomicUint32) DecBy(i uint32) uint32

func (*AtomicUint32) Get

func (at *AtomicUint32) Get() uint32

func (*AtomicUint32) Inc

func (at *AtomicUint32) Inc() uint32

func (*AtomicUint32) IncBy

func (at *AtomicUint32) IncBy(i uint32) uint32

func (*AtomicUint32) Set

func (at *AtomicUint32) Set(i uint32) uint32

type AtomicUint64

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

func (*AtomicUint64) Dec

func (at *AtomicUint64) Dec() uint64

func (*AtomicUint64) DecBy

func (at *AtomicUint64) DecBy(i uint64) uint64

func (*AtomicUint64) Get

func (at *AtomicUint64) Get() uint64

func (*AtomicUint64) Inc

func (at *AtomicUint64) Inc() uint64

func (*AtomicUint64) IncBy

func (at *AtomicUint64) IncBy(i uint64) uint64

func (*AtomicUint64) Set

func (at *AtomicUint64) Set(i uint64) uint64

Jump to

Keyboard shortcuts

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