Skip to content

Commit

Permalink
Use default handler for SIGQUIT
Browse files Browse the repository at this point in the history
  • Loading branch information
astaple committed Feb 11, 2009
1 parent ea6ef52 commit fe8ed2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/db.cpp
Expand Up @@ -633,7 +633,9 @@ namespace mongo {
sigemptyset( &asyncSignals );
sigaddset( &asyncSignals, SIGINT );
sigaddset( &asyncSignals, SIGTERM );
sigaddset( &asyncSignals, SIGQUIT );
// This signal is typically issued when the user requests a core dump.
// Let's stick with the default handler.
// sigaddset( &asyncSignals, SIGQUIT );
assert( pthread_sigmask( SIG_SETMASK, &asyncSignals, 0 ) == 0 );
boost::thread it( interruptThread );
}
Expand Down

0 comments on commit fe8ed2d

Please sign in to comment.