5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
Worker Threads

Functions

wiced_result_t wiced_rtos_create_worker_thread (wiced_worker_thread_t *worker_thread, uint8_t priority, uint32_t stack_size, uint32_t event_queue_size)
 
wiced_result_t wiced_rtos_delete_worker_thread (wiced_worker_thread_t *worker_thread)
 

Detailed Description

Worker thread management functions

Function Documentation

◆ wiced_rtos_create_worker_thread()

wiced_result_t wiced_rtos_create_worker_thread ( wiced_worker_thread_t * worker_thread,
uint8_t priority,
uint32_t stack_size,
uint32_t event_queue_size )

Creates a worker thread

A worker thread is a thread in whose context timed and asynchronous events execute.

Parameters
[in]worker_thread: A pointer to the worker thread to be created
[in]priority: Thread priority
[in]stack_size: Thread's stack size in number of bytes
[in]event_queue_size: Number of events can be pushed into the queue
Returns
WICED_SUCCESS : on success.
WICED_ERROR : if an error occurred

◆ wiced_rtos_delete_worker_thread()

wiced_result_t wiced_rtos_delete_worker_thread ( wiced_worker_thread_t * worker_thread)

Deletes a worker thread

Parameters
[in]worker_thread: A pointer to the worker thread to be created
Returns
WICED_SUCCESS : on success.
WICED_ERROR : if an error occurred