#include <mutex.h>
Collaboration diagram for MutexLock< MUTEX >:

Public Member Functions | |
| MutexLock (MUTEX &mutex) | |
| Constructor: lock the passed mutex. | |
| ~MutexLock () | |
| Destructor: unlock the passed mutex. | |
| MUTEX * | operator-> () |
| This can be used to access the mutex. Probably seldom needed. | |
Private Attributes | |
| MUTEX & | m |
Definition at line 242 of file mutex.h.
|
||||||||||
|
Constructor: lock the passed mutex.
Definition at line 249 of file mutex.h. References MutexLock< MUTEX >::m. |
|
|||||||||
|
Destructor: unlock the passed mutex.
Definition at line 251 of file mutex.h. References MutexLock< MUTEX >::m. |
|
|||||||||
|
This can be used to access the mutex. Probably seldom needed.
Definition at line 254 of file mutex.h. References MutexLock< MUTEX >::m. |
|
|||||
|
Definition at line 245 of file mutex.h. Referenced by MutexLock< MUTEX >::MutexLock(), MutexLock< MUTEX >::operator->(), and MutexLock< MUTEX >::~MutexLock(). |
1.3.5