static void libeventCallback(libevent_fd_t signum, short events, void *arg)
AsyncSignalHandler & operator=(AsyncSignalHandler const &)
void attachEventBase(EventBase *eventBase)
—— Concurrent Priority Queue Implementation ——
requires E e noexcept(noexcept(s.error(std::move(e))))
EventBase * getEventBase() const
SignalEventMap signalEvents_
void registerSignalHandler(int signum)
virtual void signalReceived(int signum) noexcept=0
virtual ~AsyncSignalHandler()
std::map< int, struct event > SignalEventMap
void unregisterSignalHandler(int signum)
AsyncSignalHandler(EventBase *eventBase)