configUSE_QUEUE_SETS must be set to 1 in FreeRTOSConfig.h for the xQueueRemoveFromSet() API function to be available.
Remove an RTOS queue or semaphore from a queue set.
An RTOS queue or semaphore can only be removed from a queue set if the queue or
semaphore is empty.
The handle of the queue or semaphore being removed from
the queue set (cast to an QueueSetMemberHandle_t type).
The handle of the queue set in which the queue or semaphore
If the queue or semaphore was successfully removed from the queue set
then pdPASS is returned. If the queue was not in the queue set, or the
queue (or semaphore) was not empty, then pdFAIL is returned.
This example assumes xQueueSet is a queue set that has already been created,
and xQueue is a queue that has already been created and added to xQueueSet.
if( xQueueRemoveFromSet( xQueue, xQueueSet ) != pdPASS )
/* Either xQueue was not a member of the xQueueSet set, or xQueue is
not empty and therefore cannot be removed from the set. */
/* The queue was successfully removed from the set. */
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.