AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
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