#include <thread.h>
Public Member Functions | |
| MLock (Mutex &mutex) | |
| ~MLock () | |
A lazy way to unlock at end of scope.
| SigCX::Threads::MLock::MLock | ( | Mutex & | mutex | ) | [inline] |
Constructor.
| mutex | A mutex to be locked. |
| SigCX::Threads::MLock::~MLock | ( | ) | [inline] |
Destructor.
The mutex passed to the constructor is unlocked.
1.5.5