xsync

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go(fn func() error) <-chan error

Go allows running a function in another goroutine and waiting for its error.

Types

type Int64

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

Int64 represents an atomic int64.

func (*Int64) Load

func (v *Int64) Load() int64

Load loads the int64.

func (*Int64) Store

func (v *Int64) Store(i int64)

Store stores the int64.

Jump to

Keyboard shortcuts

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