PoDoFo  0.9.1
Public Member Functions | List of all members
PoDoFo::Util::PdfMutexImpl Class Reference

#include <PdfMutexImpl_win32.h>

Public Member Functions

 PdfMutexImpl ()
 
void Lock ()
 
bool TryLock ()
 
void UnLock ()
 
void Lock ()
 
bool TryLock ()
 
void UnLock ()
 
 PdfMutexImpl ()
 
void Lock ()
 
bool TryLock ()
 
void UnLock ()
 

Detailed Description

A platform independent non-reentrant mutex, no-op implementation. This version is used if PoDoFo is built without threading support.

PdfMutex is NOT part of PoDoFo's public API.

A platform independent reentrant mutex, pthread implementation.

PdfMutex is NOT part of PoDoFo's public API.

This is the pthread implementation, which is entirely inline.

A platform independent reentrant mutex, win32 implementation.

Constructor & Destructor Documentation

PoDoFo::Util::PdfMutexImpl::PdfMutexImpl ( )
inline

Construct a new mutex

PoDoFo::Util::PdfMutexImpl::PdfMutexImpl ( )
inline

Construct a new mutex

Member Function Documentation

void PoDoFo::Util::PdfMutexImpl::Lock ( )
inline

Lock the mutex

void PoDoFo::Util::PdfMutexImpl::Lock ( )
inline

Lock the mutex

void PoDoFo::Util::PdfMutexImpl::Lock ( )
inline

Lock the mutex

bool PoDoFo::Util::PdfMutexImpl::TryLock ( )
inline

Try locking the mutex.

Returns
true if the mutex was locked
false if the mutex is already locked by some other thread
bool PoDoFo::Util::PdfMutexImpl::TryLock ( )
inline

Try locking the mutex.

Returns
true if the mutex was locked
false if the mutex is already locked by some other thread
bool PoDoFo::Util::PdfMutexImpl::TryLock ( )
inline

Try locking the mutex.

Returns
true if the mutex was locked
false if the mutex is already locked by some other thread
void PoDoFo::Util::PdfMutexImpl::UnLock ( )
inline

Unlock the mutex

void PoDoFo::Util::PdfMutexImpl::UnLock ( )
inline

Unlock the mutex

void PoDoFo::Util::PdfMutexImpl::UnLock ( )
inline

Unlock the mutex