mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +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. |
||
---|---|---|
.. | ||
esp32 | ||
CMakeLists.txt | ||
freertos-fds.c | ||
freertos-file.c | ||
freertos-init.c | ||
freertos-misc.c | ||
freertos-pipe.c | ||
freertos-resolv.c | ||
freertos-service.c | ||
freertos-sockets.c | ||
private-lib-plat-freertos.h |