Scale Stack 0.3 Developer Documentation

scalestack::threading::pthreads::thread_provider Class Reference

#include <thread_provider.h>

Inheritance diagram for scalestack::threading::pthreads::thread_provider:
scalestack::threading::thread_provider

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_provideroperator= (const thread_provider &)

Private Attributes

pthread_t _thread_id

Friends

void * thread_run (void *)

Detailed Description

Definition at line 43 of file thread_provider.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void scalestack::threading::pthreads::thread_provider::start ( void   )  [virtual]
void scalestack::threading::pthreads::thread_provider::stop ( void   )  [virtual]
size_t scalestack::threading::pthreads::thread_provider::get_id ( void   )  [virtual]
thread_provider& scalestack::threading::pthreads::thread_provider::operator= ( const thread_provider  )  [private]

Don't allow assignment of objects.


Friends And Related Function Documentation

void* thread_run ( void *   )  [friend]

Function passed to pthread_create() to invoke thread::_run().


Field Documentation

Definition at line 76 of file thread_provider.h.


The documentation for this class was generated from the following files:
Generated on Thu Feb 17 13:10:23 2011 by  doxygen 1.6.3