#include <thread_provider.h>
Public Member Functions | |
| thread_provider (kernel::module &module, thread &thread) | |
| void | start (void) |
| void | stop (void) |
| size_t | get_id (void) |
Private Member Functions | |
| thread_provider (const thread_provider &) | |
| thread_provider & | operator= (const thread_provider &) |
Private Attributes | |
| pthread_t | _thread_id |
Friends | |
| void * | thread_run (void *) |
Definition at line 43 of file thread_provider.h.
| scalestack::threading::pthreads::thread_provider::thread_provider | ( | kernel::module & | module, | |
| thread & | thread | |||
| ) |
Reimplemented from scalestack::threading::thread_provider.
Definition at line 55 of file thread_provider.cc.
| scalestack::threading::pthreads::thread_provider::thread_provider | ( | const thread_provider & | ) | [private] |
Don't allow copying of objects.
| void scalestack::threading::pthreads::thread_provider::start | ( | void | ) | [virtual] |
See threading::thread::start().
Implements scalestack::threading::thread_provider.
Definition at line 61 of file thread_provider.cc.
| void scalestack::threading::pthreads::thread_provider::stop | ( | void | ) | [virtual] |
See threading::thread::stop().
Implements scalestack::threading::thread_provider.
Definition at line 111 of file thread_provider.cc.
| size_t scalestack::threading::pthreads::thread_provider::get_id | ( | void | ) | [virtual] |
See threading::thread::get_id().
Implements scalestack::threading::thread_provider.
Definition at line 123 of file thread_provider.cc.
| thread_provider& scalestack::threading::pthreads::thread_provider::operator= | ( | const thread_provider & | ) | [private] |
Don't allow assignment of objects.
| void* thread_run | ( | void * | ) | [friend] |
Function passed to pthread_create() to invoke thread::_run().
pthread_t scalestack::threading::pthreads::thread_provider::_thread_id [private] |
Definition at line 76 of file thread_provider.h.
1.6.3