Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypedValue ¶
type TypedValue[T any] struct { // contains filtered or unexported fields }
func (*TypedValue[T]) CompareAndSwap ¶
func (t *TypedValue[T]) CompareAndSwap(old, new T) bool
func (*TypedValue[T]) Load ¶
func (t *TypedValue[T]) Load() T
func (*TypedValue[T]) Store ¶
func (t *TypedValue[T]) Store(value T)
func (*TypedValue[T]) Swap ¶
func (t *TypedValue[T]) Swap(new T) T
Click to show internal directories.
Click to hide internal directories.