Module StealingQueue

Module StealingQueue 

Source
Expand description

Provides the generic, priority-aware, work-stealing queue implementation.

§StealingQueue

A generic, priority-aware, work-stealing queue implementation. This module is self-contained and can be used by any scheduler or application to manage and distribute tasks of any type that can be prioritized.

Structs§

Context
Contains all necessary components for a single worker thread to operate.
Share
Holds the queue components that are safe to share across all threads.
StealingQueue
A generic, priority-aware, work-stealing queue.

Enums§

Priority
Defines the internal priority levels used by the generic queue. These map directly to the different deques managed by the system.

Traits§

Prioritized
Defines a contract for types that can be prioritized by the queue.