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

Priority queue with aging to prevent low-priority job starvation. More...

#include "aging_typed_job.h"
#include "priority_aging_config.h"
#include "typed_job.h"
#include "job_types.h"
#include <kcenon/thread/policies/policy_queue.h>
#include <kcenon/thread/policies/sync_policies.h>
#include <kcenon/thread/policies/bound_policies.h>
#include <kcenon/thread/utils/span.h>
#include <thread>
#include <atomic>
#include <vector>
#include <mutex>
#include <shared_mutex>
#include <condition_variable>
#include <unordered_map>
#include <optional>
#include <sstream>
Include dependency graph for aging_typed_job_queue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::aging_stats
 Statistics about priority aging behavior. More...
 
class  kcenon::thread::aging_typed_job_queue_t< job_type >
 A typed job queue with priority aging support, based on policy_queue. More...
 

Namespaces

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

Typedefs

using kcenon::thread::aging_typed_job_queue = aging_typed_job_queue_t<job_types>
 A convenient alias for aging_typed_job_queue_t using the job_types type.
 

Detailed Description

Priority queue with aging to prevent low-priority job starvation.

See also
typed_thread_pool For the pool that uses this queue

Definition in file aging_typed_job_queue.h.