|
DiffEq - Modern C++ ODE Integration Library 1.0.0
High-performance C++ library for solving ODEs with async signal processing
|
简单的协程任务调度器 More...
Public Member Functions | |
| template<typename State > | |
| void | add_task (IntegrationTask< State > &&task, const std::string &name, std::chrono::milliseconds interval=std::chrono::milliseconds{0}) |
| 添加一个协程任务 | |
| void | run (std::chrono::milliseconds duration) |
| 运行调度器 | |
| size_t | active_task_count () |
| 获取活跃任务数 | |
简单的协程任务调度器
Definition at line 259 of file coroutine_integration_demo.cpp.
|
inline |
获取活跃任务数
Definition at line 329 of file coroutine_integration_demo.cpp.
|
inline |
添加一个协程任务
Definition at line 276 of file coroutine_integration_demo.cpp.
|
inline |