|
Lely core libraries 2.3.5
|
The thread-local event loop. More...
#include <thrd_loop.hpp>


Static Public Member Functions | |
| static Executor | get_executor () noexcept |
| static void | stop () noexcept |
| static bool | stopped () noexcept |
| static void | restart () noexcept |
| ::std::size_t | run () noexcept |
| ::std::size_t | run_one () noexcept |
Additional Inherited Members | |
Public Member Functions inherited from lely::ev::Executor | |
| 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.
Definition at line 38 of file thrd_loop.hpp.
Definition at line 44 of file thrd_loop.hpp.
Definition at line 50 of file thrd_loop.hpp.
Definition at line 56 of file thrd_loop.hpp.
|
inlinestaticnoexcept |
Definition at line 62 of file thrd_loop.hpp.
|
inlinestaticnoexcept |
Definition at line 68 of file thrd_loop.hpp.