Scale Stack 0.3 Developer Documentation

scalestack::threading::mutex Class Reference

#include <mutex.h>

Public Member Functions

 mutex (kernel::module &module)
void lock (void)
void unlock (void)

Protected Attributes

kernel::module_module

Private Member Functions

 mutex (const mutex &)
mutexoperator= (const mutex &)

Private Attributes

std::auto_ptr< mutex_provider_mutex_provider

Detailed Description

This class represents a mutex that applications should use.

Definition at line 43 of file mutex.h.


Constructor & Destructor Documentation

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

Constructor for mutex.

Parameters:
[in] module Module that the mutex is associated with.

Definition at line 129 of file mutex.h.

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

Don't allow copying of objects.


Member Function Documentation

void scalestack::threading::mutex::lock ( void   )  [inline]

Lock the mutex.

Definition at line 136 of file mutex.h.

void scalestack::threading::mutex::unlock ( void   )  [inline]

Unlock the mutex.

Definition at line 141 of file mutex.h.

mutex& scalestack::threading::mutex::operator= ( const mutex  )  [private]

Don't allow assignment of objects.


Field Documentation

Definition at line 66 of file mutex.h.

Definition at line 80 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