#include <thread.h>
Inheritance diagram for Thread:
Public Member Functions | |
INLINE | Thread (const string &name) |
virtual | ~Thread () |
INLINE const string & | get_name () const |
INLINE bool | start (ThreadPriority priority, bool global, bool joinable) |
INLINE void | join () |
virtual void | output (ostream &out) const |
Static Public Member Functions | |
INLINE void | prepare_for_exit () |
INLINE Thread * | get_current_thread () |
INLINE bool | is_threading_supported () |
INLINE void | sleep (double seconds) |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
virtual void | thread_main ()=0 |
Private Member Functions | |
INLINE | Thread (const Thread ©) |
INLINE void | operator= (const Thread ©) |
Private Attributes | |
bool | _started |
string | _name |
ThreadImpl | _impl |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | ThreadDummyImpl |
class | ThreadNsprImpl |
|
|
|
Definition at line 29 of file thread.cxx. |
|
|
|
Reimplemented from ReferenceCount. |
|
Referenced by ThreadWithData::thread_main(). |
|
Referenced by output(), ThreadWithData::thread_main(), and ThreadWithData::ThreadWithData(). |
|
Reimplemented from TypedReferenceCount. Definition at line 78 of file thread.h. References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by init_libexpress(). |
|
Referenced by GraphicsEngine::set_threading_model(). |
|
Referenced by GraphicsEngine::terminate_threads(). |
|
|
|
Definition at line 38 of file thread.cxx. References get_name(), and TypedReferenceCount::get_type(). |
|
Referenced by main(). |
|
Referenced by main(), ThreadWithData::thread_main(), and philosopher::thread_main(). |
|
|
|
Implemented in GraphicsEngine::RenderThread, philosopher, and ThreadWithData. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from TypedReferenceCount. Definition at line 21 of file thread.cxx. |