AIROC™ BTSDK v4.6 - Documentation | ||||
Worker thread management functions. More...
Functions | |
wiced_result_t | wiced_rtos_init_worker_thread (wiced_worker_thread_t *worker_thread, uint8_t priority, uint32_t stack_size, uint32_t event_queue_size) |
Creates a worker thread. More... | |
wiced_worker_thread_t * | wiced_rtos_create_worker_thread (void) |
Creates a new instance of worker thread. More... | |
Worker thread management functions.
wiced_worker_thread_t* wiced_rtos_create_worker_thread | ( | void | ) |
Creates a new instance of worker thread.
Creates a new worker thread (Allocates memory for a new worker thread instance and returns the pointer)
wiced_result_t wiced_rtos_init_worker_thread | ( | wiced_worker_thread_t * | worker_thread, |
uint8_t | priority, | ||
uint32_t | stack_size, | ||
uint32_t | event_queue_size | ||
) |
Creates a worker thread.
Creates a worker thread A worker thread is a thread in whose context timed and asynchronous events execute.
worker_thread | : a pointer to the worker thread to be created |
priority | : thread priority |
stack_size | : thread's stack size in number of bytes |
event_queue_size | : number of events can be pushed into the queue |