TAO_RTCORBA
2.0.8
|
Abstract base class for the TAO RT Mutex implementations. More...
#include <RT_Mutex.h>
Public Member Functions | |
virtual void | lock (void) |
Acquire the lock. | |
virtual void | unlock (void) |
Release the lock. | |
virtual CORBA::Boolean | try_lock (TimeBase::TimeT max_wait) |
virtual const char * | name (void) const |
Returns the name of the mutex. | |
virtual | ~TAO_RT_Mutex (void) |
Destructor. | |
Protected Attributes | |
TAO_SYNCH_MUTEX | mu_ |
Synchronization lock. |
Abstract base class for the TAO RT Mutex implementations.
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.
TAO_RT_Mutex::~TAO_RT_Mutex | ( | void | ) | [virtual] |
Destructor.
void TAO_RT_Mutex::lock | ( | void | ) | [virtual] |
Acquire the lock.
Implements RTCORBA::Mutex.
const char * TAO_RT_Mutex::name | ( | void | ) | const [virtual] |
Returns the name of the mutex.
CORBA::Boolean TAO_RT_Mutex::try_lock | ( | TimeBase::TimeT | max_wait | ) | [virtual] |
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.
void TAO_RT_Mutex::unlock | ( | void | ) | [virtual] |
Release the lock.
Implements RTCORBA::Mutex.
TAO_SYNCH_MUTEX TAO_RT_Mutex::mu_ [protected] |
Synchronization lock.