Revert "Add zm_panic signal as a stronger version of zm_terminate. Basicaly tells things to not try so hard to clean up nicely. Don't do locking basically. Needed for fork/exec failure case."

This reverts commit 15df0487e0.
pull/3994/head
Isaac Connor 2024-05-12 10:26:19 -04:00
parent 7471994afa
commit 7dc85ecfaa
2 changed files with 0 additions and 2 deletions

View File

@ -27,7 +27,6 @@
bool zm_reload = false; bool zm_reload = false;
bool zm_terminate = false; bool zm_terminate = false;
bool zm_panic = false;
RETSIGTYPE zm_hup_handler(int signal) { RETSIGTYPE zm_hup_handler(int signal) {
// Shouldn't do complex things in signal handlers, logging is complex and can block due to mutexes. // Shouldn't do complex things in signal handlers, logging is complex and can block due to mutexes.

View File

@ -34,7 +34,6 @@ typedef RETSIGTYPE (SigHandler)( int );
extern bool zm_reload; extern bool zm_reload;
extern bool zm_terminate; extern bool zm_terminate;
extern bool zm_panic; // Similar to zm_terminate except tells all destructors to ignore locking. Mostly for use after failed fork/exec.
RETSIGTYPE zmc_hup_handler( int signal ); RETSIGTYPE zmc_hup_handler( int signal );
RETSIGTYPE zmc_term_handler( int signal ); RETSIGTYPE zmc_term_handler( int signal );