#include <vuThread.h>
Collaboration diagram for vuLock:
Public Member Functions | |
vuLock (vuMutex &m) | |
locks vuMutex m. | |
~vuLock () | |
unlocks the mutex upon destruction | |
Private Attributes | |
vuMutex * | lmutex |
Usage: { vuLock l(mutex); ... do stuff ...; }
Definition at line 80 of file vuThread.h.
|
locks vuMutex m.
Definition at line 83 of file vuThread.h. |
|
unlocks the mutex upon destruction
Definition at line 87 of file vuThread.h. |
|
Definition at line 91 of file vuThread.h. |