ACE_Null_Mutex Class Reference

Implement a do nothing ACE_Mutex, i.e., all the methods are no ops. More...

#include <Null_Mutex.h>

Inheritance diagram for ACE_Null_Mutex:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ACE_Null_Mutex (const ACE_TCHAR *=0)
 ~ACE_Null_Mutex (void)
int remove (void)
 Return 0.
int acquire (void)
 Return 0.
int acquire (ACE_Time_Value &)
 Return -1 with errno == ETIME.
int acquire (ACE_Time_Value *)
 Return -1 with errno == ETIME.
int tryacquire (void)
 Return 0.
int release (void)
 Return 0.
int acquire_write (void)
 Return 0.
int tryacquire_write (void)
 Return 0.
int tryacquire_write_upgrade (void)
 Return 0.
int acquire_read (void)
 Return 0.
int tryacquire_read (void)
 Return 0.
void dump (void) const
 Dump the state of an object.

Public Attributes

int lock_
 Declare the dynamic allocation hooks.


Detailed Description

Implement a do nothing ACE_Mutex, i.e., all the methods are no ops.

Constructor & Destructor Documentation

ACE_Null_Mutex::ACE_Null_Mutex ( const ACE_TCHAR = 0  )  [inline]

ACE_Null_Mutex::~ACE_Null_Mutex ( void   )  [inline]


Member Function Documentation

int ACE_Null_Mutex::remove ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::acquire ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::acquire ( ACE_Time_Value  )  [inline]

Return -1 with errno == ETIME.

int ACE_Null_Mutex::acquire ( ACE_Time_Value  )  [inline]

Return -1 with errno == ETIME.

int ACE_Null_Mutex::tryacquire ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::release ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::acquire_write ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::tryacquire_write ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::tryacquire_write_upgrade ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::acquire_read ( void   )  [inline]

Return 0.

int ACE_Null_Mutex::tryacquire_read ( void   )  [inline]

Return 0.

void ACE_Null_Mutex::dump ( void   )  const [inline]

Dump the state of an object.

Reimplemented in ACE_Noop_Token.


Member Data Documentation

Declare the dynamic allocation hooks.


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

Generated on Wed Apr 23 02:40:25 2008 for ACE by  doxygen 1.5.5