2 // Inclusion of system header file
7 // Inclusion of local header file
9 #include "islibfunc.hpp"
10 #include "signal_blocker.hpp"
15 // Definition of constructor
17 signal_blocker::signal_blocker
23 sigfillset_fatal ( &signal_set );
25 sigprocmask_fatal ( SIG_BLOCK, &signal_set, 0 );
29 // Definition of destructor
31 signal_blocker::~signal_blocker
40 sigfillset_fatal ( &signal_set );
42 sigprocmask_fatal ( SIG_UNBLOCK, &signal_set, 0 );