NAME
ACE_Mutex_Guard -
This data structure is meant to be used within a method or
function... It performs automatic aquisition and release of
an ACE_Mutex.
SYNOPSIS
#include <ace/Synch.h>
class ACE_Mutex_Guard
{
public:
ACE_Mutex_Guard (ACE_Mutex &m);
~ACE_Mutex_Guard (void);
int remove (void);
int acquire (void);
int tryacquire (void);
int release (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
protected:
ACE_Mutex &lock_;
inline void operator= (const ACE_Mutex_Guard &);
inline ACE_Mutex_Guard (const ACE_Mutex_Guard &g);
};
DESCRIPTION
Wrappers for various synchronization routines.
Prevent assignment and initialization.
inline void operator= (const ACE_Mutex_Guard &);
inline ACE_Mutex_Guard (const ACE_Mutex_Guard &g);
AUTHOR
Doug Schmidt
LIBRARY
ace