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

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

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).
priorityClassThread priority class (Low, Normal, High).
priorityOffsetSigned priority offset; a higher offset represents a higher priority within class.
Returns
Operation status.
See also
kThread_SetName, kThread_SetPriority