diff options
Diffstat (limited to 'cpp/src/qpid/sys/epoll')
| -rw-r--r-- | cpp/src/qpid/sys/epoll/EpollPoller.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/epoll/EpollPoller.cpp b/cpp/src/qpid/sys/epoll/EpollPoller.cpp index 3f161ccbbe..67783fc8c8 100644 --- a/cpp/src/qpid/sys/epoll/EpollPoller.cpp +++ b/cpp/src/qpid/sys/epoll/EpollPoller.cpp @@ -253,6 +253,9 @@ void Poller::rearmFd(PollerHandle& handle) { } void Poller::shutdown() { + // NB: this function must be async-signal safe, it must not + // call any function that is not async-signal safe. + // Allow sloppy code to shut us down more than once if (impl->isShutdown) return; |
