atomicKit

package
v3.0.906 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewBool func(val bool) *atomic.Bool = atomic.NewBool

	NewFloat32 func(val float32) *atomic.Float32 = atomic.NewFloat32
	NewFloat64 func(val float64) *atomic.Float64 = atomic.NewFloat64

	NewInt32  func(val int32) *atomic.Int32   = atomic.NewInt32
	NewInt64  func(val int64) *atomic.Int64   = atomic.NewInt64
	NewUint32 func(val uint32) *atomic.Uint32 = atomic.NewUint32
	NewUint64 func(val uint64) *atomic.Uint64 = atomic.NewUint64

	NewString func(val string) *atomic.String = atomic.NewString

	NewTime     func(val time.Time) *atomic.Time         = atomic.NewTime
	NewDuration func(val time.Duration) *atomic.Duration = atomic.NewDuration

	NewUintptr       func(val uintptr) *atomic.Uintptr              = atomic.NewUintptr
	NewUnsafePointer func(val unsafe.Pointer) *atomic.UnsafePointer = atomic.NewUnsafePointer
	NewError         func(val error) *atomic.Error                  = atomic.NewError
)

Functions

func NewPointer

func NewPointer[T any](v *T) *atomic.Pointer[T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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