mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Removing the thread kill functionality.
Wasn't really used and has potential for trouble.
This commit is contained in:
parent
f73eb3b086
commit
1ca0d970fc
3 changed files with 0 additions and 23 deletions
|
@ -361,12 +361,6 @@ RETSIGTYPE sig_handler(int signo)
|
|||
set_processing_status("TERMINATING", "sig_handler");
|
||||
signal_val = signo;
|
||||
|
||||
if ( thread_mgr->Terminating() && (signal_val == SIGTERM || signal_val == SIGINT) )
|
||||
// If the thread manager is already terminating (i.e.,
|
||||
// waiting for child threads to exit), another term signal
|
||||
// will send the threads a kill.
|
||||
thread_mgr->KillThreads();
|
||||
|
||||
return RETSIGVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue