Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
vSemaphoreDelete

semphr.

h

void vSemaphoreDelete( xSemaphoreHandle xSemaphore );

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.

Parameters
xSemaphoreA handle to the semaphore to be deleted.

h

void vSemaphoreDelete( SemaphoreHandle_t xSemaphore );

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.

Parameters
xSemaphoreA handle to the semaphore to be deleted.