ASL
Lock Class Reference

Detailed Description

A Lock is an automatic locker/unlocker of a Mutex.

Locks the mutex on construction and unlocks on destruction.

Mutex mutex;
void do_something_sync()
{
Lock _(mutex);
do_something();
}

#include <Mutex.h>


The documentation for this class was generated from the following file: