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

Specialized worker thread that processes jobs from a job_queue. More...

#include <kcenon/thread/core/thread_base.h>
#include <kcenon/thread/utils/formatter.h>
#include <kcenon/thread/core/job_queue.h>
#include <kcenon/thread/core/cancellation_token.h>
#include <kcenon/thread/utils/convert_string.h>
#include <kcenon/thread/forward.h>
#include <kcenon/thread/interfaces/thread_context.h>
#include "worker_policy.h"
#include <kcenon/thread/metrics/thread_pool_metrics.h>
#include <kcenon/thread/lockfree/work_stealing_deque.h>
#include <kcenon/thread/diagnostics/job_info.h>
#include <kcenon/thread/diagnostics/execution_event.h>
#include <memory>
#include <optional>
#include <vector>
#include <atomic>
#include <mutex>
#include <condition_variable>
#include <functional>
Include dependency graph for thread_worker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::thread::thread_worker
 A specialized worker thread that processes jobs from a job_queue. More...
 
struct  std::formatter< kcenon::thread::thread_worker >
 Specialization of std::formatter for kcenon::thread::thread_worker. More...
 
struct  std::formatter< kcenon::thread::thread_worker, wchar_t >
 Specialization of std::formatter for wide-character kcenon::thread::thread_worker. More...
 

Namespaces

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

Detailed Description

Specialized worker thread that processes jobs from a job_queue.

See also
thread_base For the base worker class
job_queue For the queue this worker consumes

Definition in file thread_worker.h.