Zen API
|
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.
thread | Thread object. |
function | The thread entry function. |
context | An argument to be passed to the thread entry function. |
name | Descriptive name for the thread (kNULL for default). |
priorityClass | Thread priority class (Low, Normal, High). |
priorityOffset | Signed priority offset; a higher offset represents a higher priority within class. |