DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
|
Simple async executor using standard C++ facilities only. More...
#include <async_integrator.hpp>
Public Member Functions | |
AsyncExecutor (size_t num_threads=std::thread::hardware_concurrency()) | |
template<typename F > | |
auto | submit (F &&func) -> std::future< std::invoke_result_t< F > > |
void | shutdown () |
Simple async executor using standard C++ facilities only.
This replaces the complex communication system with a lightweight standard-library-only approach suitable for C++ standard inclusion.
Definition at line 35 of file async_integrator.hpp.
|
inlineexplicit |
Definition at line 37 of file async_integrator.hpp.
|
inline |
Definition at line 46 of file async_integrator.hpp.
|
inline |
Definition at line 72 of file async_integrator.hpp.
|
inline |
Definition at line 51 of file async_integrator.hpp.