eyedblib::Mutex Class Reference

List of all members.

Public Types

enum  Type { PROCESS_PRIVATE, PROCESS_SHARED }

Public Member Functions

 Mutex (Mutex::Type type, bool lock=false)
 Mutex (bool lock=false)
int init (Mutex::Type type, bool lock=false)
int init (bool lock=false)
int lock ()
int unlock ()
bool isLocked () const
bool trylock ()
pthread_mutex_t * get_mutex ()
 ~Mutex ()

Friends

class Condition


Detailed Description

Definition at line 39 of file thread.h.


Member Enumeration Documentation

enum eyedblib::Mutex::Type

Enumerator:
PROCESS_PRIVATE 
PROCESS_SHARED 

Definition at line 42 of file thread.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 22 18:16:25 2008 for eyedb by  doxygen 1.5.3