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

Enhanced cancellation token with timeout, deadline, and reason support. More...

#include "cancellation_exception.h"
#include "cancellation_reason.h"
#include "error_handling.h"
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <thread>
#include <unordered_map>
#include <vector>
Include dependency graph for enhanced_cancellation_token.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::thread::enhanced_cancellation_token
 Advanced cancellation token with timeout, deadline, and reason support. More...
 
class  kcenon::thread::cancellation_callback_guard
 RAII guard for automatic callback unregistration. More...
 
class  kcenon::thread::cancellation_scope
 Structured cancellation scope with check points. More...
 
class  kcenon::thread::cancellation_context
 Thread-local cancellation context for implicit token propagation. More...
 
class  kcenon::thread::cancellation_context::guard
 RAII guard for push/pop operations. More...
 

Namespaces

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

Detailed Description

Enhanced cancellation token with timeout, deadline, and reason support.

Definition in file enhanced_cancellation_token.h.