#include <asiosignal.hpp>
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
Definition at line 25 of file asiosignal.hpp.
◆ Ptr
◆ anonymous enum
Enumerator |
---|
S_SIGINT | |
S_SIGTERM | |
S_SIGQUIT | |
S_SIGHUP | |
S_SIGUSR1 | |
S_SIGUSR2 | |
Definition at line 35 of file asiosignal.hpp.
◆ ASIOSignals()
openvpn::ASIOSignals::ASIOSignals |
( |
openvpn_io::io_context & |
io_context | ) |
|
|
inline |
◆ cancel()
void openvpn::ASIOSignals::cancel |
( |
| ) |
|
|
inline |
◆ register_signals()
template<typename SignalHandler >
void openvpn::ASIOSignals::register_signals |
( |
SignalHandler |
stop_handler, |
|
|
unsigned int |
sigmask = (S_SIGINT | S_SIGTERM) |
|
) |
| |
|
inline |
◆ register_signals_all()
template<typename SignalHandler >
void openvpn::ASIOSignals::register_signals_all |
( |
SignalHandler |
stop_handler | ) |
|
|
inline |
◆ halt
bool openvpn::ASIOSignals::halt |
|
private |
◆ signals_
openvpn_io::signal_set openvpn::ASIOSignals::signals_ |
|
private |
The documentation for this class was generated from the following file: