FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2009 Threads] vSemaphoreCreateBinaryPosted by avi asaf on March 16, 2009 hello all,
i am a new user of free Rtos
i am using vSemaphoreCreateBinary macro in order to create binary semaphore ,
as i understand, the semaphore is being created by using the heap.
my question is : how can i delete this handler when i stop using it.
i didnt found any macro or function that frees this allocation.
so what can I do, I have memory leak problem.
avi
RE: vSemaphoreCreateBinaryPosted by Dave on March 16, 2009 You can actually use the vQueueDelete() function to delete semaphores too as underneath they are the same structures.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|