Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kThread_Start ( kThread  thread,
kThreadFx  function,
kPointer  context,
const kChar name 
)

Begins executing a thread using the specified callback function and thread name.

Parameters
threadThread object.
functionThe thread entry function.
contextAn argument to be passed to the thread entry function.
nameDescriptive name for the thread (kNULL for default).
Returns
Operation status.
See also
kThread_SetName