![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Thread Class
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
public function member index: |
||
Construction: |
||
static CL_Thread* | create | (CL_Runnable* runnable, bool delete_runnable = false); |
static CL_Thread* | create | (int (*func)(void*), void* value); |
CL_Thread | (CL_Runnable* runnable, bool delete_runnable = false); | |
CL_Thread | (int (*func)(void*), void* value); | |
CL_Thread | (const CL_Thread& copy); | |
CL_Thread | (); | |
~CL_Thread | (); | |
Operations: |
||
CL_Thread& | operator = | (const CL_Thread& copy); |
void | start | (); |
void | terminate | (); |
void | wait | (); |
void | set_priority | (EThreadPriority priority); |
runnable - Class to call when thread is started.
func - Function that gets called at thread start.
value - Value passed to the function at thread start.