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

Adapter bridging policy_queue to pool_queue_adapter_interface. More...

Include dependency graph for policy_queue_adapter.h:

Go to the source code of this file.

Classes

class  kcenon::thread::policy_queue_adapter< SyncPolicy, BoundPolicy, OverflowPolicy >
 Adapter for policy_queue to pool_queue_adapter_interface. More...
 

Namespaces

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

Typedefs

using kcenon::thread::standard_queue_adapter
 Adapter for standard_queue (mutex-based, unbounded)
 
using kcenon::thread::lockfree_queue_adapter
 Adapter for lock-free queue.
 

Functions

template<typename PolicyQueueType >
auto kcenon::thread::make_policy_queue_adapter () -> std::unique_ptr< pool_queue_adapter_interface >
 Create a pool_queue_adapter from a policy_queue type.
 
template<typename PolicyQueueType >
auto kcenon::thread::make_policy_queue_adapter (typename PolicyQueueType::bound_policy_type bound_policy) -> std::unique_ptr< pool_queue_adapter_interface >
 Create a pool_queue_adapter with bound policy.
 
auto kcenon::thread::make_standard_queue_adapter () -> std::unique_ptr< pool_queue_adapter_interface >
 Create a standard_queue adapter.
 
auto kcenon::thread::make_lockfree_queue_adapter () -> std::unique_ptr< pool_queue_adapter_interface >
 Create a lock-free queue adapter.
 

Detailed Description

Adapter bridging policy_queue to pool_queue_adapter_interface.

See also
pool_queue_adapter_interface

Definition in file policy_queue_adapter.h.