Torque2D Reference
Loading...
Searching...
No Matches
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

PlatformMutexDatamData
 

Constructor & Destructor Documentation

◆ Mutex()

Mutex ( void  )

◆ ~Mutex()

~Mutex ( )
virtual

Member Function Documentation

◆ createMutex()

static void * createMutex ( )
inlinestatic

◆ destroyMutex()

static void destroyMutex ( void *  mutex)
inlinestatic

◆ lock()

bool lock ( bool  block = true)
virtual

◆ lockMutex()

static bool lockMutex ( void *  mutex,
bool  block = true 
)
inlinestatic

◆ unlock()

void unlock ( )
virtual

◆ unlockMutex()

static void unlockMutex ( void *  mutex)
inlinestatic

Member Data Documentation

◆ mData

PlatformMutexData* mData
protected

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