Structural deformable models
|
#include <vuThread.h>
Public Member Functions | |
vuLock (vuMutex &m) | |
~vuLock () | |
Using this class to trigger a mutex prevents from forgetting unlock(). Usage: { vuLock l(mutex); ... do stuff ...; }
Definition at line 60 of file vuThread.h.
|
inline |
locks vuMutex m.
Definition at line 63 of file vuThread.h.
|
inline |
unlocks the mutex upon destruction
Definition at line 67 of file vuThread.h.