Home | All Classes | Grouped Classes | Index | Search

CL_Thread::create

Create a thread that uses the CL_Runnable callback interface. Create a thread that calls the function specified, with the value specified.

	CL_Thread* create(
		CL_Runnable* runnable, bool delete_runnable = false);

	CL_Thread* create(
		int (*func)(void*), void* value);

Parameters:

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.

Detailed description:

Provided for ClanLib-0.4 backward compatibility.

Provided for ClanLib-0.4 backward compatibility.

See also:

CL_Thread



Questions or comments, write to the ClanLib mailing list.