From 2563951c1fbc0e67c34ba8499951cd6c2e97f896 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 13 Feb 2019 11:32:34 -0500 Subject: [PATCH] comment out the signal blocking. I still can't figure out why we would want it --- src/zmc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zmc.cpp b/src/zmc.cpp index 9270c75cd..88a9807b2 100644 --- a/src/zmc.cpp +++ b/src/zmc.cpp @@ -276,7 +276,7 @@ int main(int argc, char *argv[]) { struct timeval now; struct DeltaTimeval delta_time; while ( !zm_terminate ) { - sigprocmask(SIG_BLOCK, &block_set, 0); + //sigprocmask(SIG_BLOCK, &block_set, 0); for ( int i = 0; i < n_monitors; i++ ) { long min_delay = MAXINT; @@ -333,7 +333,7 @@ int main(int argc, char *argv[]) { } // end if next_delay <= min_delay || next_delays[i] <= 0 ) } // end foreach n_monitors - sigprocmask(SIG_UNBLOCK, &block_set, 0); + //sigprocmask(SIG_UNBLOCK, &block_set, 0); if ( zm_reload ) { for ( int i = 0; i < n_monitors; i++ ) { monitors[i]->Reload();