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

DAG-aware job with dependency tracking and unique identifiers. More...

#include <kcenon/thread/core/job.h>
#include <kcenon/thread/core/error_handling.h>
#include <any>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <functional>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <kcenon/thread/utils/formatter_macros.h>
Include dependency graph for dag_job.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::dag_job_info
 Information about a job in the DAG. More...
 
class  kcenon::thread::dag_job
 A job with dependency support for DAG-based scheduling. More...
 

Namespaces

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

Typedefs

using kcenon::thread::job_id = std::uint64_t
 Unique job identifier for DAG scheduler.
 

Enumerations

enum class  kcenon::thread::dag_job_state {
  kcenon::thread::pending , kcenon::thread::ready , kcenon::thread::running , kcenon::thread::completed ,
  kcenon::thread::failed , kcenon::thread::cancelled , kcenon::thread::skipped
}
 State of a job in the DAG scheduler. More...
 

Functions

auto kcenon::thread::dag_job_state_to_string (dag_job_state state) -> std::string
 Convert dag_job_state to string representation.
 

Variables

constexpr job_id kcenon::thread::INVALID_JOB_ID = 0
 Invalid job ID constant.
 

Detailed Description

DAG-aware job with dependency tracking and unique identifiers.

See also
dag_scheduler For dependency-based execution
dag_job_builder For fluent job construction

Definition in file dag_job.h.