Lely core libraries
2.3.4
|
A strand executor. More...
#include <strand.hpp>
Public Member Functions | |
Strand (Executor inner_exec) | |
~Strand () | |
Executor | get_inner_executor () const noexcept |
![]() | |
void | on_task_init () noexcept |
void | on_task_fini () noexcept |
bool | dispatch (ev_task &task) noexcept |
template<class F , class... Args> | |
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value, bool >::type | dispatch (F &&f, Args &&... args) |
void | post (ev_task &task) noexcept |
template<class F , class... Args> | |
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value >::type | post (F &&f, Args &&... args) |
void | defer (ev_task &task) noexcept |
template<class F , class... Args> | |
typename ::std::enable_if< !::std::is_base_of< ev_task, typename ::std::decay< F >::type >::value >::type | defer (F &&f, Args &&... args) |
bool | abort (ev_task &task) noexcept |
::std::size_t | abort_all () noexcept |
void | run (ev_task &task) noexcept |
A strand executor.
Definition at line 37 of file strand.hpp.
|
inlineexplicit |
Definition at line 40 of file strand.hpp.
|
inline |
Definition at line 59 of file strand.hpp.
|
inlinenoexcept |
Definition at line 63 of file strand.hpp.