summaryrefslogtreecommitdiff
path: root/cpp/src/tests/DispatcherTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/DispatcherTest.cpp')
-rw-r--r--cpp/src/tests/DispatcherTest.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/tests/DispatcherTest.cpp b/cpp/src/tests/DispatcherTest.cpp
index 17b3b4e3e6..41e605499f 100644
--- a/cpp/src/tests/DispatcherTest.cpp
+++ b/cpp/src/tests/DispatcherTest.cpp
@@ -161,12 +161,8 @@ int main(int /*argc*/, char** /*argv*/)
wh->startWatch(poller);
// Set up a regular itimer interupt
-
- // Ignore signal in this thread
- ::sigset_t sm;
- ::sigemptyset(&sm);
- ::sigaddset(&sm, SIGRTMIN);
- ::pthread_sigmask(SIG_BLOCK, &sm, 0);
+ // We assume that this thread will handle the signals whilst sleeping
+ // as the Poller threads have signal handling blocked
// Signal handling
struct ::sigaction sa;