ACE  6.3.3
Classes | Macros
Guard_T.h File Reference
#include "ace/Lock.h"
#include "ace/Global_Macros.h"
#include "ace/OS_NS_Thread.h"
#include "ace/Guard_T.inl"
#include "ace/Guard_T.cpp"

Classes

class  ACE_Guard< ACE_LOCK >
 This data structure is meant to be used within a method or function... It performs automatic acquisition and release of a parameterized synchronization object ACE_LOCK. More...
 
class  ACE_Write_Guard< ACE_LOCK >
 This class is similar to class ACE_Guard, though it acquires/releases a write lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API). More...
 
class  ACE_Read_Guard< ACE_LOCK >
 This class is similar to class ACE_Guard, though it acquires/releases a read lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API). More...
 

Macros

#define ACE_TSS_Guard   ACE_Guard
 
#define ACE_TSS_Write_GUARD   ACE_Write_Guard
 
#define ACE_TSS_Read_GUARD   ACE_Read_Guard
 

Detailed Description

Moved from Synch.h.

Author
Douglas C. Schmidt schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du

Macro Definition Documentation

#define ACE_TSS_Guard   ACE_Guard
#define ACE_TSS_Read_GUARD   ACE_Read_Guard
#define ACE_TSS_Write_GUARD   ACE_Write_Guard