A manager that allows to subscribe to OS signals, example: SIGUSR1, SIGUSR2. More...
#include <userver/os_signals/processor.hpp>
Public Member Functions | |
Processor (engine::TaskProcessor &task_processor) | |
template<class Class > | |
Subscriber | AddListener (Class *obj, std::string_view name, int signum, void(Class::*func)()) |
A manager that allows to subscribe to OS signals, example: SIGUSR1, SIGUSR2.
Definition at line 17 of file processor.hpp.
|
inline |
Definition at line 22 of file processor.hpp.