Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pointer ¶
type Pointer[T any] struct { // contains filtered or unexported fields }
A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
func (*Pointer[T]) CompareAndSwap ¶
CompareAndSwap executes the compare-and-swap operation for x.
Click to show internal directories.
Click to hide internal directories.