comment out the signal blocking. I still can't figure out why we would want it
This commit is contained in:
parent
3d6efe2253
commit
2563951c1f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue