Platform API Reference
Platform portability layer
IotMutex_Lock

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

void IotMutex_Lock( IotMutex_t * pMutex );

This function blocks and waits until a mutex is available. It waits forever (deadlocks) if pMutex is already locked and never unlocked.

Parameters
[in]pMutexThe mutex to lock.
See also
IotMutex_TryLock for a nonblocking lock.
IotMutex_Lock
void IotMutex_Lock(IotMutex_t *pMutex)
Lock a mutex. This function should only return when the mutex is locked; it is not expected to fail.
IotMutex_t
_IotSystemMutex_t IotMutex_t
The type used to represent mutexes, configured with the type _IotSystemMutex_t.
Definition: iot_platform_types.h:75