Lely core libraries  2.3.4
lely::io::SignalSetWait Class Reference

A wait operation suitable for use with a signal handler. More...

#include <sigset.hpp>

Inheritance diagram for lely::io::SignalSetWait:
Collaboration diagram for lely::io::SignalSetWait:

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

- Data Fields inherited from io_sigset_wait
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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: