|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Future wrapper with cancellation support. More...
#include <kcenon/thread/core/cancellation_token.h>#include <kcenon/thread/core/error_handling.h>#include <chrono>#include <future>#include <optional>
Go to the source code of this file.
Classes | |
| class | kcenon::thread::cancellable_future< R > |
| A future wrapper that supports cancellation. More... | |
| class | kcenon::thread::cancellable_future< void > |
| Specialization for void return type. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::thread |
| Core threading foundation of the thread system library. | |
Future wrapper with cancellation support.
This file provides the cancellable_future template class that wraps std::future with cancellation_token integration for cooperative cancellation.
Definition in file cancellable_future.h.