test/tproc.cc
/// Signal handler function for various signals records the signal in
/// globals g_Terminate.  These are monitored in the test loop.
///
Signal handler function for various signals records the signal in
globals g_Terminate.  These are monitored in the test loop.
Signal handler function for various signals records the signal in globals g_Terminate . These are monitored in the test loop .
void my_sigterm_handler(int s)
{
    if ((s == SIGTERM) || (s == SIGINT) || (s==SIGQUIT)) {
        g_Terminate = true;
    }
}
void my_sigterm_handler ( int s ) { if ( ( s == SIGTERM ) || ( s == SIGINT ) || ( s == SIGQUIT ) ) { g_Terminate = true ; } }
Signal handler function for various signals records the signal in
globals g_Terminate.
Signal handler function for various signals records the signal in globals g_Terminate .