#include <mutex.h>
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_provider & | operator= (const mutex_provider &) |
Private Attributes | |
| mutex & | _mutex |
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.
| scalestack::threading::mutex_provider::mutex_provider | ( | kernel::module & | module, | |
| mutex & | mutex | |||
| ) | [inline] |
Reimplemented in scalestack::threading::pthreads::mutex_provider.
| scalestack::threading::mutex_provider::~mutex_provider | ( | ) | [inline, virtual] |
Reimplemented in scalestack::threading::pthreads::mutex_provider.
| scalestack::threading::mutex_provider::mutex_provider | ( | const mutex_provider & | ) | [private] |
Don't allow copying of objects.
| virtual void scalestack::threading::mutex_provider::lock | ( | void | ) | [pure virtual] |
See mutex::lock().
Implemented in scalestack::threading::pthreads::mutex_provider.
| virtual void scalestack::threading::mutex_provider::unlock | ( | void | ) | [pure virtual] |
See mutex::unlock().
Implemented in scalestack::threading::pthreads::mutex_provider.
| mutex_provider& scalestack::threading::mutex_provider::operator= | ( | const mutex_provider & | ) | [private] |
Don't allow assignment of objects.
Reimplemented in scalestack::threading::pthreads::mutex_provider.
1.6.3