#include <CriticalSection.h>
System independant Mutex management
Mutex::Mutex |
( |
const AChar * |
name, |
|
|
bool |
create |
|
) |
| |
Create a named mutex
- Parameters
-
mutex | name |
create | if false does not create mutex |
bool Mutex::create |
( |
const AChar * |
name | ) |
|
- Returns
- true if mutex exists
Lock mutex (wait until mutex become free)
- Returns
- false if mutex not reated
Try lock mutex with timeout
- Returns
- true if lock succed
bool Mutex::open |
( |
const AChar * |
name | ) |
|
Try lock mutex (does not wait )
- Returns
- true if lock succed
Release mutex
- Returns
- false if mutex does not exist
The documentation for this class was generated from the following files: