1.4.4.2 OSAL_SEM_Delete Function
C
OSAL_RESULT OSAL_SEM_Delete(OSAL_SEM_HANDLE_TYPE* semID)
Summary
Deletes an OSAL Semaphore.
Description
This function deletes an OSAL semaphore.
Precondition
Semaphore must have been created.
Parameters
Param | Description |
---|---|
semID | Pointer to the Semaphore ID |
Returns
OSAL_RESULT_TRUE - Semaphore deleted
OSAL_RESULT_FALSE - Semaphore deletion failed
Example
OSAL_SEM_Delete(&mySemID);
Remarks
None.