| OSG
    3.4.0
    | 
This class provides an object-oriented thread mutex interface. More...
#include <Mutex.h>

| Public Types | |
| enum | MutexType { MUTEX_NORMAL, MUTEX_RECURSIVE } | 
| Public Member Functions | |
| Mutex (MutexType type=MUTEX_NORMAL) | |
| virtual | ~Mutex () | 
| MutexType | getMutexType () const | 
| virtual int | lock () | 
| virtual int | unlock () | 
| virtual int | trylock () | 
| Friends | |
| class | Condition | 
This class provides an object-oriented thread mutex interface.
| OpenThreads::Mutex::Mutex | ( | MutexType | type = MUTEX_NORMAL | ) | 
Constructor
| 
 | virtual | 
Destructor
| 
 | virtual | 
Lock the mutex

| 
 | virtual | 
Test if mutex can be locked.
| 
 | virtual | 
Unlock the mutex

 1.8.8
 1.8.8