Lely core libraries
2.3.4
|
A wait operation suitable for use with a signal handler. More...
#include <sigset.hpp>
Public Member Functions | |
template<class F > | |
SignalSetWait (ev_exec_t *exec, F &&f) | |
Constructs a wait operation with a completion task. | |
template<class F > | |
SignalSetWait (F &&f) | |
Constructs a wait operation with a completion task. | |
ev::Executor | get_executor () const noexcept |
Returns the executor to which the completion task is (to be) submitted. | |
Additional Inherited Members | |
![]() | |
struct ev_task | task |
The task (to be) submitted upon completion (or cancellation) of the wait operation. | |
int | signo |
The signal number, or 0 if the wait operation was canceled. | |
A wait operation suitable for use with a signal handler.
This class stores a callable object with signature void(int signo)
, which is invoked upon completion (or cancellation) of the wait operation.
Definition at line 80 of file sigset.hpp.