Skip to main content

Module wait_queue

Module wait_queue 

Source
Expand description

Wait queue implementation for resource coordination

Manages agents waiting for locked resources with priority ordering and notification when resources become available.

Structs§

QueueStatus
Status of a wait queue for a resource
WaitEntry
Entry in the wait queue
WaitQueue
Priority-ordered wait queue for resource locks
WaitQueueHandle
Handle returned when registering in wait queue
WaiterInfo
Information about a waiter in the queue

Enums§

RemovalReason
Reason for removal from queue
WaitQueueEvent
Events emitted by the wait queue

Functions§

file_resource_key
Generate a resource key for a file
resource_key
Generate a resource key for a given operation type and scope