AAO DRAMA/DRAMA2 C++ Interface
Public Member Functions | List of all members
drama::thread::SignalBlocker Class Reference

Detailed Description

Constructing an object of this type will block all blockable UNIX signals in the current thread.

The signals are unblocked when the destructor runs.

Examples:
monitor1.cpp, monitor2.cpp, and tocker.cpp.

#include "thread.hh"

Public Member Functions

 SignalBlocker ()
 Constructor - Block signals in the current thread. More...
 
 ~SignalBlocker ()
 Destructor - read the signal mask settings to that when the constructor was run. More...
 

Constructor & Destructor Documentation

drama::thread::SignalBlocker::SignalBlocker ( )

Constructor - Block signals in the current thread.

drama::thread::SignalBlocker::~SignalBlocker ( )

Destructor - read the signal mask settings to that when the constructor was run.


The documentation for this class was generated from the following file:

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aao.gov.au 

Generated on Mon Feb 22 2016 15:57:53 for AAO DRAMA/DRAMA2 C++ Interface by doxygen 1.8.10