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

Policy-based job queue template with customizable sync, bound, and overflow. More...

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

Go to the source code of this file.

Classes

class  kcenon::thread::policy_queue< SyncPolicy, BoundPolicy, OverflowPolicy >
 Policy-based queue template. More...
 

Namespaces

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

Typedefs

template<std::size_t MaxSize>
using kcenon::thread::bounded_blocking_queue
 Bounded queue with blocking on overflow.
 
template<std::size_t MaxSize>
using kcenon::thread::bounded_rejecting_queue
 Bounded queue that rejects on overflow.
 
template<std::size_t MaxSize>
using kcenon::thread::ring_buffer_queue
 Bounded queue that drops oldest on overflow (ring buffer behavior)
 

Detailed Description

Policy-based job queue template with customizable sync, bound, and overflow.

See also
job_queue For the default implementation

Definition in file policy_queue.h.