ACE  6.1.0
Classes | Defines
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...

Defines

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

Detailed Description

Id:
Guard_T.h 93792 2011-04-07 11:48:50Z mcorino

Moved from Synch.h.

Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>

Define Documentation

#define ACE_TSS_Guard   ACE_Guard
#define ACE_TSS_Read_GUARD   ACE_Read_Guard
#define ACE_TSS_Write_GUARD   ACE_Write_Guard
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines