Mutex.
More...
#include <erpc_threading.h>
Mutex.
If the OS supports it, the mutex will be recursive.
bool Mutex::tryLock |
( |
void |
| ) |
|
This function try lock mutex.
- Return values
-
true | When mutex locked successfully. |
false | When mutex didn't locked. |
bool Mutex::lock |
( |
void |
| ) |
|
This function lock mutex.
- Return values
-
true | When mutex locked successfully. |
false | When mutex didn't locked. |
bool Mutex::unlock |
( |
void |
| ) |
|
This function unlock mutex.
- Return values
-
true | When mutex unlocked successfully. |
false | When mutex didn't unlocked. |
The documentation for this class was generated from the following files: