Lock Challenge Step 4
Syncmultiplethreadssharingaresource
Classes | Namespaces | Variables
LockGuard.h File Reference

contains namespace chal and class LockGuard More...

#include <mutex>
Include dependency graph for LockGuard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  chal::LockGuard< _Mutex >
 A movable scoped lock type. More...
 

Namespaces

 chal
 

Variables

bool chal::DEBUG = true
 

Detailed Description

contains namespace chal and class LockGuard

Note
set DEBUG to false within chal namespace to disable debug output.
needs to be compiled with flag -pthread.
Author
Armaan Roshani
Bug:
no known bugs

Definition in file LockGuard.h.