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

Primary C++20 module for thread_system. More...

import kcenon.thread:core;
import kcenon.common;
Include dependency graph for thread.cppm:

Go to the source code of this file.

Classes

struct  kcenon::thread::module_version
 Version information for thread_system module. More...
 

Namespaces

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

Detailed Description

Primary C++20 module for thread_system.

This is the main module interface for the thread_system library. It aggregates all module partitions to provide a single import point.

Usage:

using namespace kcenon::thread;
auto pool = std::make_shared<thread_pool>("worker_pool");
pool->start();
pool->enqueue(std::make_unique<my_job>());
Core threading foundation of the thread system library.
Definition thread_impl.h:17

Module Structure:

  • kcenon.thread:core - Thread pool, worker management, jobs
  • kcenon.thread:queue - Queue implementations (job_queue, adaptive_job_queue)

Dependencies:

  • kcenon.common (Tier 0) - Result<T>, error handling, interfaces

Definition in file thread.cppm.