Lely core libraries
2.3.4
|
A system signal handler. More...
#include <sigset.hpp>
Public Member Functions | |
SignalSet (io_poll_t *poll, ev_exec_t *exec) | |
~SignalSet () | |
![]() | |
void | clear (::std::error_code &ec) noexcept |
void | clear () |
void | insert (int signo, ::std::error_code &ec) noexcept |
void | insert (int signo) |
void | remove (int signo, ::std::error_code &ec) noexcept |
void | remove (int signo) |
void | submit_wait (io_sigset_wait &wait) noexcept |
template<class F > | |
void | submit_wait (ev_exec_t *exec, F &&f) |
template<class F > | |
typename ::std::enable_if<!::std::is_base_of< io_sigset_wait, typename ::std::decay< F >::type >::value >::type | submit_wait (F &&f) |
ev::Future< int, void > | async_wait (ev_exec_t *exec, struct io_sigset_wait **pwait=nullptr) |
ev::Future< int, void > | async_wait (struct io_sigset_wait **pwait=nullptr) |
![]() | |
ContextBase | get_ctx () const noexcept |
ev::Executor | get_executor () const noexcept |
bool | cancel (ev_task &task) noexcept |
::std::size_t | cancel_all () noexcept |
bool | abort (ev_task &task) noexcept |
::std::size_t | abort_all () noexcept |
A system signal handler.
Definition at line 36 of file sigset.hpp.
Definition at line 39 of file sigset.hpp.
|
inline |
Definition at line 62 of file sigset.hpp.