|
Zen API
|
| 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.
| thread | Thread object. |
| function | The thread entry function. |
| context | An argument to be passed to the thread entry function. |
| stackSize | Requested stack size, in bytes (0 for default). |
| name | Descriptive name for the thread (kNULL for default). |
| priority | Thread priority, relative to 0 (default). |