ACE  6.3.3
Public Member Functions | Public Attributes | List of all members
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]

Public Member Functions

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

Public Attributes

int lock_
 Declare the dynamic allocation hooks. More...
 

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::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::acquire_read ( void  )
inline

Return 0.

int ACE_Null_Mutex::acquire_write ( void  )
inline

Return 0.

void ACE_Null_Mutex::dump ( void  ) const
inline

Dump the state of an object.

int ACE_Null_Mutex::release ( void  )
inline

Return 0.

int ACE_Null_Mutex::remove ( void  )
inline

Return 0.

int ACE_Null_Mutex::tryacquire ( void  )
inline

Return 0.

int ACE_Null_Mutex::tryacquire_read ( 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.

Member Data Documentation

int ACE_Null_Mutex::lock_

Declare the dynamic allocation hooks.


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