#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.
All exceptions that might be thrown by PdfMutex are catched and logged.
PoDoFo::Util::PdfMutexWrapper::PdfMutexWrapper | ( | PdfMutex & | rMutex | ) |
Lock a mutex.
rMutex | the mutex to be locked. |
PoDoFo::Util::PdfMutexWrapper::~PdfMutexWrapper | ( | ) |
Unlocks the mutex on destruction