#include <service.h>
Public Member Functions | |
| service (kernel::module &module) | |
| virtual | ~service () |
Private Member Functions | |
| service (const service &) | |
| service & | operator= (const service &) |
| virtual mutex_provider * | _add_mutex (mutex &mutex)=0 |
| virtual thread_provider * | _add_thread (thread &thread)=0 |
Friends | |
| class | mutex |
| class | thread |
This is a base class that threading providers must implement in order to provide a threading service.
Definition at line 43 of file service.h.
| scalestack::threading::service::service | ( | kernel::module & | module | ) | [inline] |
Constructor for threading service.
| [in] | module | Module that the service is associated with. |
Reimplemented from scalestack::kernel::service.
Reimplemented in scalestack::threading::pthreads::service.
| scalestack::threading::service::~service | ( | ) | [inline, virtual] |
Reimplemented from scalestack::kernel::service.
| scalestack::threading::service::service | ( | const service & | ) | [private] |
Don't allow copying of objects.
Don't allow assignment of objects.
| virtual mutex_provider* scalestack::threading::service::_add_mutex | ( | mutex & | mutex | ) | [private, pure virtual] |
Add a mutex to the threading service.
| [in] | mutex | Mutex to add. |
Implemented in scalestack::threading::pthreads::service.
| virtual thread_provider* scalestack::threading::service::_add_thread | ( | thread & | thread | ) | [private, pure virtual] |
Add a thread to the threading service.
| [in] | thread | Thread to add. |
Implemented in scalestack::threading::pthreads::service.
1.6.3