PoDoFo  0.9.6
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

◆ PdfMutexImpl() [1/2]

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

Construct a new mutex

◆ PdfMutexImpl() [2/2]

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

Construct a new mutex

Member Function Documentation

◆ Lock() [1/3]

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

Lock the mutex

◆ Lock() [2/3]

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

Lock the mutex

◆ Lock() [3/3]

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

Lock the mutex

◆ TryLock() [1/3]

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

◆ TryLock() [2/3]

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

◆ TryLock() [3/3]

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

◆ UnLock() [1/3]

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

Unlock the mutex

◆ UnLock() [2/3]

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

Unlock the mutex

◆ UnLock() [3/3]

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

Unlock the mutex