SystemLock Class Reference

#include <system_abstraction.h>

List of all members.

Public Member Functions

 SystemLock ()
 ~SystemLock ()
void lock (void)
void unlock (void)

Private Attributes

pthread_mutex_t mutex

Detailed Description

Definition at line 74 of file system_abstraction.h.

Constructor & Destructor Documentation

SystemLock::SystemLock (  )  [inline]

Definition at line 78 of file system_abstraction.h.

References mutex.

00078 { pthread_mutex_init(&mutex, NULL); }

SystemLock::~SystemLock (  )  [inline]

Definition at line 79 of file system_abstraction.h.

References mutex.

00079 { pthread_mutex_destroy(&mutex); }

Member Function Documentation

void SystemLock::lock ( void   )  [inline]

void SystemLock::unlock ( void   )  [inline]

Member Data Documentation

pthread_mutex_t SystemLock::mutex [private]

Definition at line 76 of file system_abstraction.h.

Referenced by lock(), SystemLock(), unlock(), and ~SystemLock().

The documentation for this class was generated from the following file:

Generated on Wed Mar 19 15:00:00 2008 for rwlock by  doxygen 1.5.5