|
tin
1.5.9
|
#include <executor.h>


Additional Inherited Members | |
Public Member Functions inherited from tsm::runtime::basic_cooperative_executor< detail::priority_executor_task_binding, Tasks... > | |
| constexpr | basic_cooperative_executor (Tasks &... tasks) |
| bool | step () |
| std::size_t | run_ready () |
| std::size_t | tick (tsm::tick_rep elapsed_ticks=1U) |
| std::size_t | tick (tsm::tick_count elapsed_ticks) |
| void | start_all () |
| spawn_result | start () |
| void | start_group (tsm::task_group< Entries... >) |
| spawn_result | spawn (Args &&... args) |
| task_spawner< basic_cooperative_executor > | spawner () |
| task_status | task_status () const |
| task_failure_reason | task_failure_reason () const |
| bool | cancel () noexcept |
| void | cancel_group (tsm::task_group< Entries... >) noexcept |
| void | cancel_all () noexcept |
Caller-driven executor that honors task priorities.
HSM events still use the runtime queue policy. This executor only changes how ready coroutine tasks are selected: the highest numeric tsm::task_priority<N> runs first, with FIFO order preserved among tasks at the same priority.