NAME
ACE_Sig_Guard - Hold signals in MASK for duration of a C++ statement block. Note that a "0" for mask causes all signals to be held.
SYNOPSIS
#include <ace/Signal.h>
class ACE_Sig_Guard
{
public:
ACE_Sig_Guard (ACE_Sig_Set *mask = 0);
~ACE_Sig_Guard (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
private:
ACE_Sig_Set omask_;
};
Initialization and termination methods.
ACE_Sig_Guard (ACE_Sig_Set *mask = 0);
Block out signals in mask. Default is to block all signals!
~ACE_Sig_Guard (void);
Restore blocked signals.
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace