A Lock is an automatic locker/unlocker of a Mutex.
Locks the mutex on construction and unlocks on destruction.
void do_something_sync()
{
Lock _(mutex);
do_something();
}
A mutex that can be locked or unlocked to protect concurrent access to a resource.
Definition Mutex.h:27
#include <asl/Mutex.h>
The documentation for this class was generated from the following file: