Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFree ¶
type LockFree[T any] struct { // contains filtered or unexported fields }
func NewLockFree ¶
type LockFreeCached ¶
type LockFreeCached[T any] struct { // contains filtered or unexported fields }
func NewLockFreeCached ¶
func NewLockFreeCached[T any](cap int) *LockFreeCached[T]
func (*LockFreeCached[T]) Pop ¶
func (r *LockFreeCached[T]) Pop() (T, bool)
func (*LockFreeCached[T]) Push ¶
func (r *LockFreeCached[T]) Push(val T) bool
type LockFreeContainerRing ¶
type LockFreeContainerRing[T any] struct { // contains filtered or unexported fields }
func NewContainerRing ¶
func NewContainerRing[T any](cap int) *LockFreeContainerRing[T]
func (*LockFreeContainerRing[T]) Pop ¶
func (r *LockFreeContainerRing[T]) Pop() (T, bool)
func (*LockFreeContainerRing[T]) Push ¶
func (r *LockFreeContainerRing[T]) Push(val T) bool
type RingBufferer ¶
RingBufferer defines an interface for a RingBuffer
Click to show internal directories.
Click to hide internal directories.