ost::Cancellation Class Reference

A class to automatically set the thread cancellation mode of a member function. More...

#include <thread.h>

List of all members.

Public Member Functions

 Cancellation (Thread::Cancel cancel)
 ~Cancellation ()


Detailed Description

A class to automatically set the thread cancellation mode of a member function.

When the member function returns and the automatic variable falls out of scope, the previous thread cancellation mode is restored.

Author:
David Sugar <dyfet@gnu.org> Automatic cancellation mode setting.

Constructor & Destructor Documentation

ost::Cancellation::Cancellation ( Thread::Cancel  cancel  ) 

ost::Cancellation::~Cancellation (  ) 


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

Generated on Sat May 16 22:57:39 2009 for GNU CommonC++ by  doxygen 1.5.8