libcrn
3.9.5
A document image processing library
|
A mutex manager for file access. More...
#include <CRNFileShield.h>
Static Public Member Functions | |
static std::mutex & | GetMutex (const Path &fname) |
Gets the mutex associated to a file. More... | |
A mutex manager for file access.
A mutex manager for file access.
Usage: place the following line at the beginning of the block you want to protect
Definition at line 46 of file CRNFileShield.h.
|
static |
Gets the mutex associated to a file.
Gets the mutex associated to a file
[in] | fname | the file to shield |
Definition at line 44 of file CRNFileShield.cpp.