1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat
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
..
freertos freertos: suppress return check on xSemaphoreTake 2021-10-08 09:49:58 +01:00
optee windows: openssl: load certificates from certificate store 2021-03-12 09:25:51 +00:00
unix types: handle ssize_t is int 2021-08-09 17:31:16 +01:00
windows windows: fix _lws_plat_file_seek_cur to update pos in fd 2021-10-05 07:40:17 +01:00