1.2.2.2.4 OSAL_QUEUE_SelectFromSet Function

C

OSAL_RESULT OSAL_QUEUE_SelectFromSet(OSAL_QUEUE_SET_MEMBER_HANDLE_TYPE *queSetMember, OSAL_QUEUE_SET_HANDLE_TYPE *queSetID, uint32_t waitMS);

Description

Block to wait for something to be available from the queues or semaphore that have been added to the set.

Parameters

ParamDescription
queSetMemberMember queue or semaphore to be added in the set
queSetIDA pointer to the queue ID
waitMSwait time in milliseconds. other value OSAL_WAIT_FOREVER

Returns

OSAL_RESULT_TRUE - A queue had been created

OSAL_RESULT_FALSE - Queue creation failed