NAME
ACE_Null_Mutex - Implement a do nothing ACE_Mutex, i.e., all the methods are no ops.
SYNOPSIS
#include <ace/Synch.h>
class ACE_Null_Mutex
{
public:
ACE_Null_Mutex (LPCTSTR = 0);
~ACE_Null_Mutex (void);
int remove (void);
int acquire (void);
int tryacquire (void);
int release (void);
int acquire_write (void);
int tryacquire_write (void);
int acquire_read (void);
int tryacquire_read (void);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
};
DESCRIPTION
Wrappers for various synchronization routines.
PUBLIC MEMBERS
ACE_Null_Mutex (LPCTSTR = 0);
~ACE_Null_Mutex (void);
int remove (void);
int acquire (void);
int tryacquire (void);
int release (void);
int acquire_write (void);
int tryacquire_write (void);
int acquire_read (void);
int tryacquire_read (void);
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace