Skip to content

Commit

Permalink
handle SIGQUIT too
Browse files Browse the repository at this point in the history
  • Loading branch information
astaple committed Feb 11, 2009
1 parent bd3b8ec commit 878cffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ namespace mongo {
sigemptyset( &asyncSignals );
sigaddset( &asyncSignals, SIGINT );
sigaddset( &asyncSignals, SIGTERM );
sigaddset( &asyncSignals, SIGQUIT );
assert( pthread_sigmask( SIG_SETMASK, &asyncSignals, 0 ) == 0 );
boost::thread it( interruptThread );
}
Expand Down

0 comments on commit 878cffc

Please sign in to comment.