1.4.4.10 OSAL_MUTEX_Delete Function

C

OSAL_RESULT OSAL_MUTEX_Delete(OSAL_MUTEX_HANDLE_TYPE* mutexID)

Summary

Deletes a mutex.

Description

This function deletes a mutex and frees associated storage if required.

Precondition

None.

Parameters

ParamDescription
mutexIDPointer to the mutex handle

Returns

OSAL_RESULT_TRUE - Mutex successfully deleted

OSAL_RESULT_FALSE - Mutex failed to be deleted

Example

OSAL_MUTEX_Delete(&mutexData);

Remarks

None.