OSAL_QUEUE_AddToSet Function

C

OSAL_RESULT OSAL_QUEUE_AddToSet(OSAL_QUEUE_SET_MEMBER_HANDLE_TYPE *queSetMember, OSAL_QUEUE_SET_HANDLE_TYPE *queSetID);

Description

Add the queues and semaphores to the set.Reading from these queues and semaphore can only be performed after a call to xQueueSelectFromSet() has returned the queue or semaphore handle from this point on.

Parameters

Param Description
queSetMember Member queue or semaphore to be added in the set
queSetID A pointer to the queue ID

Returns

OSAL_RESULT_TRUE - A queue had been created

OSAL_RESULT_FALSE - Queue creation failed