Semaphores
[API]

 TIP: 'Task Notifications' can provide a light weight alternative to semaphores in many situations 

Modules


vSemaphoreDelete

semphr.h
void vSemaphoreDelete( SemaphoreHandle_t xSemaphore );

Deletes a semaphore, including mutex type semaphores and recursive semaphores.

Do not delete a semaphore that has tasks blocked on it (tasks that are in the Blocked state waiting for the semaphore to become available).

Parameters:
xSemaphore The handle of the semaphore being deleted.