#include <sync.h>
Public Member Functions | |
| void | lock () |
| void | unlock () |
A Mutex object.
This class implements a platform-indipendent lock mechanism, useful to synchronize threads which share global resources.
| void Mutex::lock | ( | ) |
Request the mutex control and stop the calling thread if another thread owns the mutex.
| void Mutex::unlock | ( | ) |
Release the mutex control.
1.8.8