Scale Stack 0.3 Developer Documentation

scalestack::threading::mutex_provider Class Reference

#include <mutex.h>

Inheritance diagram for scalestack::threading::mutex_provider:
scalestack::threading::pthreads::mutex_provider

Public Member Functions

 mutex_provider (kernel::module &module, mutex &mutex)
virtual ~mutex_provider ()
virtual void lock (void)=0
virtual void unlock (void)=0

Protected Attributes

kernel::module_module

Private Member Functions

 mutex_provider (const mutex_provider &)
mutex_provideroperator= (const mutex_provider &)

Private Attributes

mutex_mutex

Detailed Description

This is a base class that mutex provider modules must implement. Everytime a mutex instance is created, one of these is created with it to provide the functionality.

Definition at line 88 of file mutex.h.


Constructor & Destructor Documentation

scalestack::threading::mutex_provider::mutex_provider ( kernel::module module,
mutex mutex 
) [inline]

Reimplemented in scalestack::threading::pthreads::mutex_provider.

Definition at line 150 of file mutex.h.

scalestack::threading::mutex_provider::~mutex_provider (  )  [inline, virtual]

Reimplemented in scalestack::threading::pthreads::mutex_provider.

Definition at line 156 of file mutex.h.

scalestack::threading::mutex_provider::mutex_provider ( const mutex_provider  )  [private]

Don't allow copying of objects.


Member Function Documentation

virtual void scalestack::threading::mutex_provider::lock ( void   )  [pure virtual]
virtual void scalestack::threading::mutex_provider::unlock ( void   )  [pure virtual]
mutex_provider& scalestack::threading::mutex_provider::operator= ( const mutex_provider  )  [private]

Don't allow assignment of objects.


Field Documentation

Definition at line 108 of file mutex.h.

Reimplemented in scalestack::threading::pthreads::mutex_provider.

Definition at line 122 of file mutex.h.


The documentation for this class was generated from the following file:
Generated on Thu Feb 17 13:10:23 2011 by  doxygen 1.6.3