AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later 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.
 
 ~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: