SW Task Event Loop Framework v1.0.0
High-performance C++ asynchronous event loop framework with timer management and promise-based programming
Loading...
Searching...
No Matches
CpuTaskExecutor.h File Reference

CPU-bound task executor with async execution and timeout support. More...

#include <future>
#include <chrono>
#include <functional>
#include <stdexcept>
#include <type_traits>
#include "CpuTaskExecutor.tpp"
Include dependency graph for CpuTaskExecutor.h:

Go to the source code of this file.

Classes

class  swt::CpuTaskTimeoutException
 Exception thrown when CPU-bound tasks exceed timeout limits. More...
 
class  swt::CpuTaskExecutor
 Static utility class for executing CPU-intensive tasks asynchronously. More...
 

Namespaces

namespace  swt
 Software Timer namespace containing all timer-related classes.
 

Detailed Description

CPU-bound task executor with async execution and timeout support.

Author
Tran Anh Tai
Date
9/2025
Version
1.0.0

Definition in file CpuTaskExecutor.h.