vSemaphoreDelete macro
Delete a semaphore. This function must be used with care. For example, do not delete a mutex type semaphore if the mutex is held by a task.
Arguments
xSemaphore
A handle to the semaphore to be deleted.
![]()
#define vSemaphoreDelete( xSemaphore ) vQueueDelete( ( QueueHandle_t ) ( xSemaphore ) )