1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib
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
..
abstract license: fix two old headers from pre-MIT change 2021-05-04 18:33:36 +01:00
core context: fix compilation error 2021-10-07 13:29:12 +01:00
core-net client: connect: prefer default vh if none given 2021-10-05 07:40:17 +01:00
cose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
drivers drivers: spi: avoid leaking uninitialized bits 2021-04-15 17:41:53 +01:00
event-libs uv: handle uv_poll_init failure 2021-10-07 11:22:36 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc ss: policy: unwind after policy syntax errors cleanly 2021-10-05 07:40:17 +01:00
plat freertos: suppress return check on xSemaphoreTake 2021-10-08 09:49:58 +01:00
roles ss-mqtt: Add support for Birth message 2021-10-07 11:22:21 +01:00
secure-streams ss-mqtt: Add support for Birth message 2021-10-07 11:22:21 +01:00
system freertos: suppress return check on xSemaphoreTake 2021-10-08 09:49:58 +01:00
tls tls: clear unused warning on WITHOUT_SERVER 2021-10-06 09:22:50 +01:00
CMakeLists.txt Subject: [PATCH] cmake: Install pkgconfig files in mingw 2021-09-09 07:27:31 +01:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries