1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/plat/freertos
Andy Green df008ef6ce freertos: suppress return check on xSemaphoreTake
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.
2021-10-08 09:49:58 +01:00
..
esp32 esp32c3 2021-08-31 05:45:40 +01:00
CMakeLists.txt remove: old esp32 helper pieces 2020-07-15 16:18:00 +01:00
freertos-fds.c freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
freertos-file.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
freertos-init.c docs: switch to use main 2020-10-19 16:35:03 +01:00
freertos-misc.c freertos: fixes for build on atmel xdk 2020-09-03 12:49:54 +01:00
freertos-pipe.c context: refactor destroy flow 2020-11-28 10:58:38 +00:00
freertos-resolv.c sys: blob: appended bugflist blob offset by LWS_PRE 2021-01-04 05:40:12 +00:00
freertos-service.c service: assert on thread shenanigans 2021-08-13 05:25:01 +01:00
freertos-sockets.c windows: openssl: load certificates from certificate store 2021-03-12 09:25:51 +00:00
private-lib-plat-freertos.h freertos: suppress return check on xSemaphoreTake 2021-10-08 09:49:58 +01:00