![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <Thread.hpp>
Inheritance diagram for cat::Thread:Public Member Functions | |
| void | AbortThread () |
| bool | StartThread (void *param=0) |
| Thread () | |
| CAT_INLINE bool | ThreadRunning () |
| bool | WaitForThread (int milliseconds=-1) |
| virtual CAT_INLINE | ~Thread () |
Protected Member Functions | |
| virtual bool | ThreadFunction (void *param)=0 |
Static Protected Member Functions | |
| static void * | ThreadWrapper (void *this_object) |
Protected Attributes | |
| pthread_t | _thread |
| volatile bool | _thread_running |
| void * | caller_param |
Definition at line 48 of file Thread.hpp.
| cat::Thread::Thread | ( | ) |
| virtual CAT_INLINE cat::Thread::~Thread | ( | ) | [inline, virtual] |
Definition at line 74 of file Thread.hpp.
{}
| void cat::Thread::AbortThread | ( | ) |
| bool cat::Thread::StartThread | ( | void * | param = 0 | ) |
| virtual bool cat::Thread::ThreadFunction | ( | void * | param | ) | [protected, pure virtual] |
Implemented in cat::FortunaFactory, cat::DNSClient, cat::sphynx::Client, cat::sphynx::ServerTimer, and cat::ThreadPoolWorker.
| CAT_INLINE bool cat::Thread::ThreadRunning | ( | ) | [inline] |
| static void* cat::Thread::ThreadWrapper | ( | void * | this_object | ) | [static, protected] |
| bool cat::Thread::WaitForThread | ( | int | milliseconds = -1 | ) |
pthread_t cat::Thread::_thread [protected] |
Definition at line 58 of file Thread.hpp.
volatile bool cat::Thread::_thread_running [protected] |
Definition at line 52 of file Thread.hpp.
Referenced by ThreadRunning().
void* cat::Thread::caller_param [protected] |
Definition at line 51 of file Thread.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.