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