#include <Mutex.h>
Mutex |
( |
const char * |
name | ) |
|
|
explicit |
Create the mutex. The mutex is allocated in the unlocked state. name should be a static string which describes the primitive for debugging purposes.
Destroy the mutex. Destroying the mutex in the locked state has undefined results.
Acquire the Mutex. This method will block until the mutex is acquired.
Attempt to acquire the Mutex without blocking. Returns true if the mutex was available and actually acquired.
Release the Mutex, unblocking any other threads that are blocked waiting for the Mutex.
The documentation for this class was generated from the following files: