|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Queue selection requirements. More...
#include <queue_factory.h>

Public Attributes | |
| bool | need_exact_size = false |
| Require exact size() | |
| bool | need_atomic_empty = false |
| Require atomic empty() | |
| bool | prefer_lock_free = false |
| Prefer lock-free if possible. | |
| bool | need_batch_operations = false |
| Require batch enqueue/dequeue. | |
| bool | need_blocking_wait = false |
| Require blocking dequeue. | |
Queue selection requirements.
Specifies what features are required from the queue. Used by create_for_requirements() to select the appropriate implementation.
Definition at line 72 of file queue_factory.h.
| bool kcenon::thread::queue_factory::requirements::need_atomic_empty = false |
Require atomic empty()
Definition at line 74 of file queue_factory.h.
| bool kcenon::thread::queue_factory::requirements::need_batch_operations = false |
Require batch enqueue/dequeue.
Definition at line 76 of file queue_factory.h.
Referenced by requirements_based_selection().
| bool kcenon::thread::queue_factory::requirements::need_blocking_wait = false |
Require blocking dequeue.
Definition at line 77 of file queue_factory.h.
| bool kcenon::thread::queue_factory::requirements::need_exact_size = false |
Require exact size()
Definition at line 73 of file queue_factory.h.
Referenced by requirements_based_selection().
| bool kcenon::thread::queue_factory::requirements::prefer_lock_free = false |
Prefer lock-free if possible.
Definition at line 75 of file queue_factory.h.
Referenced by requirements_based_selection().