The thread-local event loop.
More...
#include <thrd_loop.hpp>
|
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 |
|
The thread-local event loop.
Definition at line 34 of file thrd_loop.hpp.
◆ get_executor()
static Executor lely::ev::ThreadLoop::get_executor |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ stop()
static void lely::ev::ThreadLoop::stop |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ stopped()
static bool lely::ev::ThreadLoop::stopped |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ restart()
static void lely::ev::ThreadLoop::restart |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ run()
::std::size_t lely::ev::ThreadLoop::run |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ run_one()
::std::size_t lely::ev::ThreadLoop::run_one |
( |
| ) |
|
|
inlinestaticnoexcept |
The documentation for this class was generated from the following file: