Platform API Reference
Platform portability layer
IotMutex_Destroy

Free resources used by a mutex.

void IotMutex_Destroy( IotMutex_t * pMutex );

This function frees resources used by a mutex. It must be called on an initialized IotMutex_t. No other mutex functions should be called on pMutex after calling this function (unless the mutex is re-created).

Parameters
[in]pMutexThe mutex to destroy.
Warning
This function must not be called on a locked mutex.
See also
IotMutex_Create
IotMutex_t
_IotSystemMutex_t IotMutex_t
The type used to represent mutexes, configured with the type _IotSystemMutex_t.
Definition: iot_platform_types.h:75
IotMutex_Destroy
void IotMutex_Destroy(IotMutex_t *pMutex)
Free resources used by a mutex.