![]() |
Public API Reference |
#include <thread.h>
Inheritance diagram for csMutex:
Static Public Methods | |
csRef< csMutex > | Create (bool needrecursive=false) |
This will create a Thread. More... |
Definition at line 117 of file thread.h.
|
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. |