43 static int32_t async_select_start_task(
void);
52 static OSAL_task_handle_t async_select_task;
56 static OSAL_mutex_handle_t async_select_mutex;
66 res = async_select_start_task();
76 static int32_t async_select_start_task(){
81 if(status == OSAL_OK){
85 if(status == OSAL_OK){
97 OSAL_mutex_take(&async_select_mutex, OSAL_INFINITE_TIME);
104 OSAL_mutex_give(&async_select_mutex);
OSAL_task_stack_declare(async_select_task_stack, ASYNC_SELECT_TASK_STACK_SIZE)
Stack of the async_select task.
int32_t async_select_init()
Initialize the async_select component. This function must be called prior to any call of async_select...
void async_select_unlock(void)
Exit critical section for the async_select component.
#define ASYNC_SELECT_MUTEX_NAME
async_select mutex name.
#define ASYNC_SELECT_TASK_NAME
async_select task name.
void async_select_lock(void)
Enter critical section for the async_select component.
Asynchronous network select configuration.
void async_select_task_main(void)
The entry point for the async_select task. This function must be called from a dedicated task...
Asynchronous network select API.
void async_select_request_fifo_init(void)
Initializes the requests FIFOs. This function must be called prior to any call of async_select()...
#define ASYNC_SELECT_TASK_PRIORITY
async_select task priority.
#define ASYNC_SELECT_TASK_STACK_SIZE
async_select task stack size in bytes.