vSemaphoreCreateBinary
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
vSemaphoreCreateBinary
You can actually use the vQueueDelete() function to delete semaphores too as underneath they are the same structures.