pdf::Mutex Class Reference

#include <mutex.h>

Public Member Functions

 Mutex ()
 ~Mutex ()
void lock ()
void unlock ()
GMutex * get_gmutex ()

Detailed Description

Definition at line 35 of file mutex.h.


Constructor & Destructor Documentation

pdf::Mutex::Mutex (  )  [inline]

Definition at line 38 of file mutex.h.

00038 { mutex_ = g_mutex_new(); }

pdf::Mutex::~Mutex (  )  [inline]

Definition at line 39 of file mutex.h.

00039 { g_mutex_free(mutex_); }


Member Function Documentation

GMutex* pdf::Mutex::get_gmutex (  )  [inline]

Definition at line 44 of file mutex.h.

00044 { return mutex_; }

void pdf::Mutex::lock ( void   )  [inline]

Definition at line 41 of file mutex.h.

Referenced by pdf::ScopeMutex::ScopeMutex().

00041 { g_mutex_lock(mutex_); }

Here is the caller graph for this function:

void pdf::Mutex::unlock ( void   )  [inline]

Definition at line 42 of file mutex.h.

Referenced by pdf::ScopeMutex::~ScopeMutex().

00042 { g_mutex_unlock(mutex_); }

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208