Documentation
¶
Overview ¶
Package atomicutil contains functions for working with the atomic package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value[T any] struct { // contains filtered or unexported fields }
Value is a generic atomic.Value.
func (*Value[T]) CompareAndSwap ¶ added in v0.29.0
Swap swaps the value atomically.
Click to show internal directories.
Click to hide internal directories.