Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Mutex Class Reference

#include <mutex.h>

Public Member Functions

 Mutex ()
 
virtual ~Mutex ()
 
virtual bool lock (bool block=true)
 
virtual void unlock ()
 

Static Public Member Functions

static void * createMutex ()
 
static void destroyMutex (void *mutex)
 
static bool lockMutex (void *mutex, bool block=true)
 
static void unlockMutex (void *mutex)
 

Protected Attributes

PlatformMutexData * mData
 

Constructor & Destructor Documentation

Mutex ( )
virtual ~Mutex ( )
virtual

Member Function Documentation

static void* createMutex ( )
inlinestatic
static void destroyMutex ( void *  mutex)
inlinestatic
virtual bool lock ( bool  block = true)
virtual
static bool lockMutex ( void *  mutex,
bool  block = true 
)
inlinestatic
virtual void unlock ( )
virtual
static void unlockMutex ( void *  mutex)
inlinestatic

Member Data Documentation

PlatformMutexData* mData
protected

The documentation for this class was generated from the following file: