AWS IoT Device SDK C: Platform
Platform portability layer
Return to main page ↑
IotMutex_Unlock

Unlock a mutex. This function should only return when the mutex is unlocked; it is not expected to fail.

void IotMutex_Unlock( IotMutex_t * pMutex );

Unlocks a locked mutex. pMutex must have been locked by the thread calling this function.

Parameters
[in]pMutexThe mutex to unlock.
Note
This function should not be called on a mutex that is already unlocked.