modulepackage
0.0.0-20240816210425-c5d0cb0b6fc0
Repository: https://github.com/cockroachdb/fifo.git
Documentation: pkg.go.dev
# README
DEPRECATED
Moved to github.com/cockroachdb/crlib
# Functions
MakeQueue constructs a new Queue.
MakeQueueBackingPool makes a queue backing pool.
NewSemaphore creates a new semaphore with the given capacity.
# Variables
No description provided by the author
# Structs
Queue implements an allocation efficient FIFO queue.
QueueBackingPool is a sync.Pool that used to allocate internal nodes for Queue[T].
Semaphore implements a weighted, dynamically reconfigurable semaphore which respects context cancellation.
SemaphoreStats contains information about the current state of the semaphore.