mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() - Add platform helpers for pipe creation. - Change the direct-to-fds implementation to create a wsi for each pt and use the normal apis to bind it to the event loop. - Modifiy context creation and destroy to create and remove the event pipe wsis. - Create the event pipe wsis during context create if using the default poll() event loop, or when the other event loops start otherwise. - Add handler that calls back user code with LWS_CALLBACK_EVENT_WAIT_CANCELLED This patch allows you to call `lws_cancel_service(struct lws_context *context)` from another thread. It's very cheap for the other thread to call and is safe without locking. Every use protocol receives a LWS_CALLBACK_EVENT_WAIT_CANCELLED from the main thread serialized normally in the event loop. |
||
---|---|---|
.. | ||
generic-sessions | ||
generic-table | ||
ssh-base | ||
lwsws-logo.png | ||
protocol_client_loopback_test.c | ||
protocol_dumb_increment.c | ||
protocol_esp32_lws_group.c | ||
protocol_esp32_lws_ota.c | ||
protocol_esp32_lws_reboot_to_factory.c | ||
protocol_esp32_lws_scan.c | ||
protocol_lws_meta.c | ||
protocol_lws_mirror.c | ||
protocol_lws_raw_test.c | ||
protocol_lws_server_status.c | ||
protocol_lws_sshd_demo.c | ||
protocol_lws_status.c | ||
protocol_post_demo.c | ||
server-status.html |