#include <thread.h>
Public Member Functions | |
| thread_provider (kernel::module &module, thread &thread) | |
| virtual | ~thread_provider () |
| virtual void | start (void)=0 |
| virtual void | stop (void)=0 |
| virtual size_t | get_id (void)=0 |
| virtual void | run (void) |
Protected Attributes | |
| kernel::module & | _module |
Private Member Functions | |
| thread_provider (const thread_provider &) | |
| thread_provider & | operator= (const thread_provider &) |
Private Attributes | |
| thread & | _thread |
This is a base class that thread provider modules must implement. Everytime a thread instance is created, one of these is created with it to provide the functionality.
Definition at line 111 of file thread.h.
| scalestack::threading::thread_provider::thread_provider | ( | kernel::module & | module, | |
| thread & | thread | |||
| ) | [inline] |
Reimplemented in scalestack::threading::pthreads::thread_provider.
| scalestack::threading::thread_provider::~thread_provider | ( | ) | [inline, virtual] |
| scalestack::threading::thread_provider::thread_provider | ( | const thread_provider & | ) | [private] |
Don't allow copying of objects.
| virtual void scalestack::threading::thread_provider::start | ( | void | ) | [pure virtual] |
See thread::start().
Implemented in scalestack::threading::pthreads::thread_provider.
| virtual void scalestack::threading::thread_provider::stop | ( | void | ) | [pure virtual] |
See thread::stop().
Implemented in scalestack::threading::pthreads::thread_provider.
| virtual size_t scalestack::threading::thread_provider::get_id | ( | void | ) | [pure virtual] |
See thread::get_id().
Implemented in scalestack::threading::pthreads::thread_provider.
| void scalestack::threading::thread_provider::run | ( | void | ) | [inline, virtual] |
See thread::run().
| thread_provider& scalestack::threading::thread_provider::operator= | ( | const thread_provider & | ) | [private] |
Don't allow assignment of objects.
1.6.3