ACE_Sig_Guard(3)

ACE_Sig_Guard3

Hold signals in mask for duration of a c++ statement block. note that a "0" for mask causes all signals to be held.

Usage

#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.

Library

ace

Author

Doug Schmidt

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.