Core threading foundation of the thread system library.
Runtime-queryable queue capabilities descriptor.
bool wait_free
Implementation uses wait-free algorithms (stronger than lock-free)
bool atomic_empty_check
empty() check is atomic and consistent
bool supports_blocking_wait
Supports blocking dequeue with wait.
bool supports_batch
Supports batch enqueue/dequeue operations.
constexpr auto operator==(const queue_capabilities &other) const noexcept -> bool=default
Equality comparison operator.
bool exact_size
size() returns exact value (vs approximate for lock-free queues)
bool lock_free
Implementation uses lock-free algorithms.
bool supports_stop
Supports stop() method to signal shutdown.