Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

not found the funtion to delete a QueueSetHandle_t

Posted by totof95 on April 17, 2015

Hello,

A use xQueueCreateSet to create a QueueSetHandlet. At the end of my function, i want to delete this QueueSetHandlet. I not found the function to delete a QueueSetHandle_t.

FreeRTOS 8.2.1 Can you help me?

Thanks


not found the funtion to delete a QueueSetHandle_t

Posted by rtel on April 17, 2015

I think you can pass the QueueSetHandlet into vQueueDelete(), you may need to cast it to a QueueHandlet to prevent compiler warnings though.

Note it is dangerous to delete a queue set if there are still queues in the set, so ensure to remove the queues first, and a queue can only be removed from a set if it is empty.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS