#include <RT_Mutex.h>
Inheritance diagram for TAO_RT_Mutex


Public Methods | |
| TAO_RT_Mutex (void) | |
| Constructor. | |
| virtual | ~TAO_RT_Mutex (void) |
| Destructor. | |
| virtual void | lock (CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) throw (CORBA::SystemException) |
| Acquire the lock. | |
| virtual void | unlock (CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) throw (CORBA::SystemException) |
| Release the lock. | |
| virtual CORBA::Boolean | try_lock (TimeBase::TimeT max_wait, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) throw (CORBA::SystemException) |
| virtual const char* | name (void) const |
| Returns the name of the mutex. | |
Protected Attributes | |
| TAO_SYNCH_MUTEX | mu_ |
| Synchronization lock. | |
This class just serves as a base class for any of the TAO RT Mutex implementations. Instances of these classes should be created using the RTCORBA::create_mutex() method.
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Acquire the lock.
|
|
|
Returns the name of the mutex.
|
|
|
Acquire the lock, but only wait up to <max_wait> time. Note that this operation may not be available on all OS platforms, so if you're interested in writing maximally portable programs avoid using this operation in your program designs. |
|
|
Release the lock.
|
|
|
Synchronization lock.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000