ACE 7.1.4
Loading...
Searching...
No Matches
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 ()=default
 
int remove ()
 Return 0.
 
int acquire ()
 Return 0.
 
int acquire (ACE_Time_Value &)
 Return -1 with errno == ETIME.
 
int acquire (ACE_Time_Value *)
 Return -1 with errno == ETIME.
 
int tryacquire ()
 Return 0.
 
int release ()
 Return 0.
 
int acquire_write ()
 Return 0.
 
int tryacquire_write ()
 Return 0.
 
int tryacquire_write_upgrade ()
 Return 0.
 
int acquire_read ()
 Return 0.
 
int tryacquire_read ()
 Return 0.
 
void dump () const
 Dump the state of an object.
 

Public Attributes

int lock_
 Declare the dynamic allocation hooks.
 
 ACE_ALLOC_HOOK_DECLARE
 

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::ACE_Null_Mutex ( const ACE_TCHAR * = 0)
inline

◆ ~ACE_Null_Mutex()

ACE_Null_Mutex::~ACE_Null_Mutex ( )
default

Member Function Documentation

◆ acquire() [1/3]

int ACE_Null_Mutex::acquire ( )
inline

Return 0.

◆ acquire() [2/3]

int ACE_Null_Mutex::acquire ( ACE_Time_Value & )
inline

Return -1 with errno == ETIME.

◆ acquire() [3/3]

int ACE_Null_Mutex::acquire ( ACE_Time_Value * )
inline

Return -1 with errno == ETIME.

◆ acquire_read()

int ACE_Null_Mutex::acquire_read ( )
inline

Return 0.

◆ acquire_write()

int ACE_Null_Mutex::acquire_write ( )
inline

Return 0.

◆ dump()

void ACE_Null_Mutex::dump ( ) const
inline

Dump the state of an object.

◆ release()

int ACE_Null_Mutex::release ( )
inline

Return 0.

◆ remove()

int ACE_Null_Mutex::remove ( )
inline

Return 0.

◆ tryacquire()

int ACE_Null_Mutex::tryacquire ( )
inline

Return 0.

◆ tryacquire_read()

int ACE_Null_Mutex::tryacquire_read ( )
inline

Return 0.

◆ tryacquire_write()

int ACE_Null_Mutex::tryacquire_write ( )
inline

Return 0.

◆ tryacquire_write_upgrade()

int ACE_Null_Mutex::tryacquire_write_upgrade ( )
inline

Return 0.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_Null_Mutex::ACE_ALLOC_HOOK_DECLARE

◆ lock_

int ACE_Null_Mutex::lock_

Declare the dynamic allocation hooks.


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