AWS IoT Device SDK C:
Platform
Platform portability layer
|
Return to main page ↑ |
Attempt to lock a mutex. Return immediately if the mutex is not available.
If pMutex
is available, this function immediately locks it and returns. Otherwise, this function returns without locking pMutex
.
[in] | pMutex | The mutex to lock. |
true
if the mutex was successfully locked; false
if the mutex was not available.