NAME
CL_Thread
CLASS MEMBERS
- static CL_Thread *create(
-
CL_Runnable *runnable)
- static CL_Thread *create(
-
int (*func)(void*), void* value)
- virtual ~CL_Thread()
- virtual void start()
- virtual void terminate()
- virtual void wait()
MEMBERS WITH DESCRIPTIONS
- static CL_Thread *create(
-
CL_Runnable *runnable)
Parameters: runnable - Class to call when thread is started.
Description:
Create a thread that uses the CL_Runnable callback interface.
- static CL_Thread *create(
-
int (*func)(void*), void* value)
Parameters: func - Function that gets called at thread start. value - Value passed to the function at thread start.
Description:
Create a thread that calls the function specified, with the value specified.
- virtual ~CL_Thread()
-
Description:
- virtual void start()
-
Description:
Starts the thread.
- virtual void terminate()
-
Description:
Terminate the thread. (use with caution under win98)
- virtual void wait()
-
Description:
Wait until the thread finishes its execution.
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.
The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).
See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.