Inheritance diagram for DAQThreadMutex::

Public Methods | |
| DAQThreadMutex () | |
| Constructor. More... | |
| ~DAQThreadMutex () | |
| Destructor. More... | |
| int | Lock () |
| Lock mutex. More... | |
| int | TryLock () |
| Try to lock mutex. More... | |
| int | UnLock () |
| Unlock mutex. More... | |
| virtual void | PrintEyeCatcher (ostream &) |
| Print an eye catcher. More... | |
Protected Attributes | |
| daqthread_mutex_t | thrdmutex |
| The mutex. More... | |
Friends | |
| class | DAQThreadCond |
The DAQThreadMutex class provides methods that implement a thread mutex.
|
|
Basic constructor method for this class.
|
|
|
Destructor method for this class.
|
|
|
Attempts to lock the mutex. This method will block if the mutex has been locked by another thread.
|
|
|
Print an eye catcher for this mutex.
Reimplemented from DAQObject. |
|
|
Attempts to lock the mutex. This method doesn't block if the mutex has been locked by another thread.
|
|
|
Unlocks the mutex.
|
|
|
The actual mutex that is locked. |
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001