PoDoFo  0.9.1
Public Member Functions
PoDoFo::Util::PdfMutexImpl Class Reference

#include <PdfMutexImpl_win32.h>

List of all members.

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

Construct a new mutex

Construct a new mutex


Member Function Documentation

Lock the mutex

Lock the mutex

Lock the mutex

Try locking the mutex.

Returns:
true if the mutex was locked
false if the mutex is already locked by some other thread

Try locking the mutex.

Returns:
true if the mutex was locked
false if the mutex is already locked by some other thread

Try locking the mutex.

Returns:
true if the mutex was locked
false if the mutex is already locked by some other thread

Unlock the mutex

Unlock the mutex

Unlock the mutex