Torque2D Reference
|
#include <mutex.h>
Public Member Functions | |
MutexHandle () | |
~MutexHandle () | |
bool | lock (void *mutex, bool blocking=false) |
void | unlock () |
Helper for simplifying mutex locking code.
This class will automatically unlock a mutex that you've locked through it, saving you from managing a lot of complex exit cases. For instance:
|
inline |
|
inline |
|
inline |
|
inline |