AIROC™ BTSDK v4.7 - Documentation | ||||
Thread management functions. More...
Functions | |
wiced_result_t | wiced_rtos_create_thread_with_stack (wiced_thread_t *thread, uint8_t priority, const char *name, wiced_thread_function_t function, uint32_t stack_size, void *arg) |
Initializes and starts a new thread. More... | |
Thread management functions.
wiced_result_t wiced_rtos_create_thread_with_stack | ( | wiced_thread_t * | thread, |
uint8_t | priority, | ||
const char * | name, | ||
wiced_thread_function_t | function, | ||
uint32_t | stack_size, | ||
void * | arg | ||
) |
Initializes and starts a new thread.
Initializes and starts a new thread
thread | : Pointer to variable that will receive the thread handle |
priority | : A priority number or WICED_DEFAULT_APP_THREAD_PRIORITY. |
name | : a text name for the thread (can be null) |
function | : the main thread function |
stack_size | : stack size for this thread |
arg | : argument which will be passed to thread function |