diff options
Diffstat (limited to 'zyklonb.c')
-rw-r--r-- | zyklonb.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -636,6 +636,9 @@ recovery_handler (int signum, siginfo_t *info, void *context) "signal received", signal_name); *g_startup_reason_location = buf; + // Avoid annoying resource intensive infinite loops by sleeping for a bit + (void) sleep (1); + // TODO: maybe pregenerate the path, see the following for some other ways // that would be illegal to do from within a signal handler: // http://stackoverflow.com/a/1024937 |