Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Thread Class Reference

#include <thread.h>

Inheritance diagram for CL_Thread:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~CL_Thread ()
 param: func - Function that gets called at thread start.param: value - Value passed to the function at thread start.

virtual void start ()=0
virtual void terminate ()=0
virtual void wait ()=0

Static Public Methods

CL_Thread* create (CL_Runnable *runnable)
CL_Thread* create (int(*func)(void *), void *value)
 param: runnable - Class to call when thread is started.


Constructor & Destructor Documentation

CL_Thread::~CL_Thread ( ) [inline, virtual]
 

param: func - Function that gets called at thread start.param: value - Value passed to the function at thread start.

Definition at line 28 of file thread.h.


Member Function Documentation

CL_Thread* CL_Thread::create ( int(* func)(void *),
void * value ) [static]
 

param: runnable - Class to call when thread is started.

CL_Thread* CL_Thread::create ( CL_Runnable * runnable ) [static]
 

Referenced by CLThreadDrv::CLThreadDrv(), and CL_Runnable_Func::value().

virtual void CL_Thread::start ( ) [pure virtual]
 

Reimplemented in CL_Thread_BeOS, CL_Thread_Posix, and CL_Thread_Win32.

virtual void CL_Thread::terminate ( ) [pure virtual]
 

Reimplemented in CL_Thread_BeOS, CL_Thread_Posix, and CL_Thread_Win32.

virtual void CL_Thread::wait ( ) [pure virtual]
 

Reimplemented in CL_Thread_BeOS, CL_Thread_Posix, and CL_Thread_Win32.

Referenced by CLThreadDrv::Wait().


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:34 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001