comment out the signal blocking. I still can't figure out why we would want it

This commit is contained in:
Isaac Connor 2019-02-13 11:32:34 -05:00
parent 3d6efe2253
commit 2563951c1f
1 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ int main(int argc, char *argv[]) {
struct timeval now; struct timeval now;
struct DeltaTimeval delta_time; struct DeltaTimeval delta_time;
while ( !zm_terminate ) { while ( !zm_terminate ) {
sigprocmask(SIG_BLOCK, &block_set, 0); //sigprocmask(SIG_BLOCK, &block_set, 0);
for ( int i = 0; i < n_monitors; i++ ) { for ( int i = 0; i < n_monitors; i++ ) {
long min_delay = MAXINT; 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 if next_delay <= min_delay || next_delays[i] <= 0 )
} // end foreach n_monitors } // end foreach n_monitors
sigprocmask(SIG_UNBLOCK, &block_set, 0); //sigprocmask(SIG_UNBLOCK, &block_set, 0);
if ( zm_reload ) { if ( zm_reload ) {
for ( int i = 0; i < n_monitors; i++ ) { for ( int i = 0; i < n_monitors; i++ ) {
monitors[i]->Reload(); monitors[i]->Reload();