atomic

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IncWrapInt64

func IncWrapInt64(p *int64) int64

IncWrapInt64 atomically increments a 64-bit signed integer, wrapping around zero.

Specifically if p points to a value of math.MaxInt64 the result of calling IncWrapInt64 will be 0.

Types

This section is empty.

Jump to

Keyboard shortcuts

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