1.1.1.2.2 OSAL_QUEUE_CreateSet Function

C

OSAL_RESULT OSAL_QUEUE_CreateSet(OSAL_QUEUE_SET_HANDLE_TYPE *queID, uint32_t queueLength);

Description

Creates a new queue set instance, and returns a handle by which the new queue can be referenced

Parameters

ParamDescription
queIDA pointer to the queue ID
queueLengthThe maximum number of items that the queue can contain.

Returns

OSAL_RESULT_TRUE - A queue set had been created

OSAL_RESULT_FALSE - Queue creation failed