|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|

Public Attributes | |
| std::atomic< bool > | is_cancelled {false} |
| std::optional< cancellation_reason > | reason |
| std::unordered_map< callback_handle, callback_type > | simple_callbacks |
| std::unordered_map< callback_handle, callback_with_reason_type > | reason_callbacks |
| std::atomic< callback_handle > | next_handle {1} |
| std::chrono::steady_clock::time_point | deadline_point |
| std::atomic< bool > | has_deadline {false} |
| std::mutex | mutex |
| std::condition_variable | cv |
| std::atomic< bool > | timer_active {false} |
| std::atomic< bool > | timer_should_stop {false} |
Definition at line 15 of file enhanced_cancellation_token.cpp.
|
mutable |
Definition at line 30 of file enhanced_cancellation_token.cpp.
| std::chrono::steady_clock::time_point kcenon::thread::enhanced_cancellation_token::state::deadline_point |
Definition at line 25 of file enhanced_cancellation_token.cpp.
| std::atomic<bool> kcenon::thread::enhanced_cancellation_token::state::has_deadline {false} |
Definition at line 27 of file enhanced_cancellation_token.cpp.
| std::atomic<bool> kcenon::thread::enhanced_cancellation_token::state::is_cancelled {false} |
Definition at line 17 of file enhanced_cancellation_token.cpp.
|
mutable |
Definition at line 29 of file enhanced_cancellation_token.cpp.
| std::atomic<callback_handle> kcenon::thread::enhanced_cancellation_token::state::next_handle {1} |
Definition at line 23 of file enhanced_cancellation_token.cpp.
| std::optional<cancellation_reason> kcenon::thread::enhanced_cancellation_token::state::reason |
Definition at line 18 of file enhanced_cancellation_token.cpp.
| std::unordered_map<callback_handle, callback_with_reason_type> kcenon::thread::enhanced_cancellation_token::state::reason_callbacks |
Definition at line 22 of file enhanced_cancellation_token.cpp.
| std::unordered_map<callback_handle, callback_type> kcenon::thread::enhanced_cancellation_token::state::simple_callbacks |
Definition at line 20 of file enhanced_cancellation_token.cpp.
| std::atomic<bool> kcenon::thread::enhanced_cancellation_token::state::timer_active {false} |
Definition at line 32 of file enhanced_cancellation_token.cpp.
| std::atomic<bool> kcenon::thread::enhanced_cancellation_token::state::timer_should_stop {false} |
Definition at line 33 of file enhanced_cancellation_token.cpp.