Note that the signals will be handled with a delay of up to single epoll
cycle. This is because the signal extension is synced with the
EpollSelectDispatcher. This makes it unsuitable to handle critical signals
(like SIGABRT or SIGSEGV) where the application shouldn't be allowed to
proceed in the general case; for these cases setup an asynchronous signal
handler using sigaction instead.
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details.
Alternatively, this file may be distributed under the terms of the Tango
3-Clause BSD License (see LICENSE_BSD.txt for details).
Epoll-based signal handlers.
Note that the signals will be handled with a delay of up to single epoll cycle. This is because the signal extension is synced with the EpollSelectDispatcher. This makes it unsuitable to handle critical signals (like SIGABRT or SIGSEGV) where the application shouldn't be allowed to proceed in the general case; for these cases setup an asynchronous signal handler using sigaction instead.