CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csMutex Class Reference

A platform-independent mutual-exclusion object. More...

#include <thread.h>

Inheritance diagram for csMutex:

csRefCount List of all members.

Static Public Methods

csRef< csMutex > Create (bool needrecursive=false)
 This will create a Thread. More...


Detailed Description

A platform-independent mutual-exclusion object.

Definition at line 117 of file thread.h.


Member Function Documentation

csRef<csMutex> csMutex::Create bool    needrecursive = false [static]
 

This will create a Thread.

Note that the mutexes on windows are always recursive (ie. the same thread is able to Lock the mutex multiple times) while on other platforms non recursive threads may be faster to implement. If you need recursive behaviour set needrecursive to true. Note: It seems Conditionals on linux only work with non-recursive mutexes.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14