Versions in this module Expand all Collapse all v0 v0.3.8 Feb 2, 2025 Changes in this version + func NewPointer[T any](x *T) *atomic.Pointer[T] v0.3.7 Oct 13, 2024 Changes in this version + type Value struct + func NewValue[T any](x T) *Value[T] + func (v *Value[T]) CompareAndSwap(old, new T) bool + func (v *Value[T]) Load() T + func (v *Value[T]) Store(x T) + func (v *Value[T]) Swap(x T) T