PoDoFo
0.9.6
|
#include <PdfMutexWrapper.h>
Public Member Functions | |
PODOFO_NOTHROW | PdfMutexWrapper (PdfMutex &rMutex) |
~PdfMutexWrapper () | |
A wrapper around PdfMutex. The mutex is locked in the constructor and unlocked in the destructor.
In debug builds all exceptions thrown by the mutex implementation are caught and logged before being rethrown.
Note that PdfMutexWrapper is not part of PoDoFo's public API.
|
inline |
Lock a mutex.
rMutex | the mutex to be locked. |
|
inline |
Unlocks the mutex on destruction