Skip to main content

Module queue

Module queue 

Source
Expand description

Lock-free work queue with work stealing support.

Uses crossbeam-deque for efficient work stealing between workers.

Structs§

PriorityQueue
Priority-aware work queue wrapper.
Task
A task to be executed by a worker.
WorkQueue
Global work queue for task injection.
WorkStealer
Work stealer for stealing from other workers.

Functions§

create_local_queue
Create a new local worker queue and return both the worker and stealer.