Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
queue_factory.h File Reference

Factory for creating queue instances based on configuration. More...

Include dependency graph for queue_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::thread::queue_factory
 Factory for creating queue instances. More...
 
struct  kcenon::thread::queue_factory::requirements
 Queue selection requirements. More...
 
struct  kcenon::thread::queue_type_selector< NeedExactSize, PreferLockFree >
 Compile-time queue type selector. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 

Typedefs

template<bool NeedExactSize, bool PreferLockFree = false>
using kcenon::thread::queue_t = typename queue_type_selector<NeedExactSize, PreferLockFree>::type
 Convenience alias for queue type selection.
 
using kcenon::thread::accurate_queue_t = queue_t<true, false>
 Queue type for accurate size/empty operations (job_queue)
 
using kcenon::thread::fast_queue_t = queue_t<false, true>
 Queue type for maximum throughput (adaptive_job_queue with performance_first policy)
 
using kcenon::thread::balanced_queue_t = queue_t<false, false>
 Queue type for balanced performance (adaptive_job_queue)
 

Detailed Description

Factory for creating queue instances based on configuration.

See also
adaptive_job_queue
job_queue

Definition in file queue_factory.h.