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

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

Note: The thread options provided via this function are not supported on every platform.

Parameters
threadThread object.
functionThe thread entry function.
contextAn argument to be passed to the thread entry function.
stackSizeRequested stack size, in bytes (0 for default).
nameDescriptive name for the thread (kNULL for default).
priorityThread priority, relative to 0 (default).
Returns
Operation status.