Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFreeStack ¶
type LockFreeStack[T any] interface { Push(T) Pop() T }
LockFreeStack is an interface representing a thread-safe, lock-free stack.
type Stack ¶
type Stack[T any] struct { // contains filtered or unexported fields }
func NewLockFreeStack ¶
NewStack creates a new lock-free queue.
Click to show internal directories.
Click to hide internal directories.