Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages | Examples

fgl::FGMutex Class Reference

#include <base.h>

List of all members.


Detailed Description

Synchronisation object - MUTEX. Used when multithrading support is enabled.


Public Member Functions

 FGMutex (ENUM_MUTEX_TYPE typ=fastMutEx)
 FGMutex (const FGMutex &old)
void Lock ()
void Unlock ()
bool TryLock ()


Constructor & Destructor Documentation

fgl::FGMutex::FGMutex ENUM_MUTEX_TYPE  typ = fastMutEx  )  [inline]
 

Create a MUTEX. You can choose from fast or recursive one.


Member Function Documentation

void fgl::FGMutex::Lock  )  [inline]
 

Lock the object for others.

bool fgl::FGMutex::TryLock  )  [inline]
 

Try lock the object for others. Returns false if one is already locked.

void fgl::FGMutex::Unlock  )  [inline]
 

Unlock the object for others.


Generated on Wed Feb 9 11:31:38 2005 for OpenGUI by  doxygen 1.4.0