atomic

package
v6.3.2-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Goid

func Goid() string

func WhereAmI

func WhereAmI()

func WhereAmI2

func WhereAmI2(msg string, depth int)

func WhereAmIMsg

func WhereAmIMsg(msg string)

func WhereAmIString

func WhereAmIString(depth int) string

Types

type AtomicBool

type AtomicBool int32

func (*AtomicBool) Load

func (a *AtomicBool) Load() (v bool)

func (*AtomicBool) Store

func (a *AtomicBool) Store(x bool)

type AtomicInt

type AtomicInt int64

func (*AtomicInt) Add

func (a *AtomicInt) Add(x int)

func (*AtomicInt) Load

func (a *AtomicInt) Load() int

func (*AtomicInt) Store

func (a *AtomicInt) Store(x int)

type AtomicInt64

type AtomicInt64 int64

func (*AtomicInt64) Add

func (a *AtomicInt64) Add(x int64)

func (*AtomicInt64) Load

func (a *AtomicInt64) Load() int64

func (*AtomicInt64) Store

func (a *AtomicInt64) Store(x int64)

type AtomicString

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

func (*AtomicString) Load

func (a *AtomicString) Load() string

func (*AtomicString) Store

func (a *AtomicString) Store(x string)

type AtomicUint32

type AtomicUint32 uint32

func (*AtomicUint32) Load

func (a *AtomicUint32) Load() uint32

func (*AtomicUint32) Store

func (a *AtomicUint32) Store(x uint32)

type AtomicUint8

type AtomicUint8 uint32

func (*AtomicUint8) Load

func (a *AtomicUint8) Load() uint8

func (*AtomicUint8) Store

func (a *AtomicUint8) Store(x uint8)

type DebugMutex

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

func (*DebugMutex) Lock

func (c *DebugMutex) Lock()

Pick your poison ...

func (*DebugMutex) Unlock

func (c *DebugMutex) Unlock()

Jump to

Keyboard shortcuts

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