1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/core
Andy Green 7baf400017 evlib: allow custom evlib ops
Adapt the event lib support slighly so we can pass an event lib "plugin"
header in at context creation time, and direct all event loop handling to
go via that.

This can then be lightly adapted to interface to an existing custom event
loop cleanly, without the problems of EXTERNAL_POLL.

The external loop must consult with us about the max wait timeout as shown
in the added minimal-http-server-eventlib-custom example.

The example shows a complete implementation working with a custom poll()
loop cleanly while only needing 5 ops in the custom event lib handler.
2021-06-07 08:17:49 +01:00
..
alloc.c lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
buflist.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
CMakeLists.txt deprecation: remove lws_dll1 2020-06-02 08:37:10 +01:00
context.c evlib: allow custom evlib ops 2021-06-07 08:17:49 +01:00
libwebsockets.c smp: fix client tsi detection 2021-05-12 09:06:11 +01:00
logs.c access-log: use localtime_r instead of localtime if possible 2021-03-25 09:12:11 +00:00
lws_dll2.c dll2: explicitly confim detached dll2 has no linkage 2021-01-04 05:40:12 +00:00
private-lib-core.h windows: cancel pipe is in pts not context 2021-04-05 10:55:04 +01:00
vfs.c type comparisons: fixes 2021-01-05 10:56:38 +00:00