1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core-net
Andy Green 09ba5c6789 freertos: lws_cancel_service udp as pipe
Freertos + lwip doesn't support pipe2() or pipe()... implement a "pipe"
based on two UDP sockets, one listening on 127.0.0.1:54321 and the other
doing a sendto() there of a single byte to interrupt the event loop wait.

Re-use the arrangements for actual pipe fds and pipe role to deliver
lws_cancel_service() functionality using this.
2020-01-15 19:52:41 +00:00
..
adopt.c event-ops: rename accept member to sock_accept 2020-01-15 12:20:50 +00:00
client.c cleaning 2020-01-05 22:17:58 +00:00
close.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
connect.c tls: apply restriction if any also to client connections 2020-01-15 16:32:48 +00:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c cleaning 2020-01-05 22:17:58 +00:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
output.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
pollfd.c cleaning 2020-01-05 22:17:58 +00:00
private-lib-core-net.h windows: clean type warnings 2020-01-11 14:04:50 +00:00
sequencer.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
service.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
sorted-usec-list.c lws_system: helpers for attaching to existing event loop from other threads 2020-01-05 22:17:58 +00:00
state.c fail paths: deregister notifier and be sure adopt returns NULL 2019-12-06 17:14:28 +00:00
stats.c cleaning 2020-01-05 22:17:58 +00:00
vhost.c freertos: lws_cancel_service udp as pipe 2020-01-15 19:52:41 +00:00
wsi-timeout.c cleaning 2020-01-05 22:17:58 +00:00
wsi.c cleaning 2020-01-05 22:17:58 +00:00