mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() With the timeout set to portMAX_DELAY, there is no timeout and so no way for the api to return failure. https://www.freertos.org/a00122.html However Coverity doesn't understand this, and futher, Coverity usually ignores (void) result casts. So add needless checks and the corresponding needless unwinding to the 10 uses of lws_mutex_lock() in smd.c. Invert the return value to align it with pthreads mutex lock return semantics. |
||
---|---|---|
.. | ||
freertos | ||
optee | ||
unix | ||
windows |