[Libwebsockets] [PATCH] Add Linux AIO in the list of recognized libev backends

Olivier Langlois olivier at olivierlanglois.net
Sat Feb 8 22:27:09 CET 2020


--
 lib/event-libs/libev/libev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/event-libs/libev/libev.c b/lib/event-
libs/libev/libev.c
index 661e4024..14b8a44c 100644
--- a/lib/event-libs/libev/libev.c
+++ b/lib/event-libs/libev/libev.c
@@ -183,6 +183,9 @@ elops_init_pt_ev(struct lws_context *context, void
*_loop, int tsi)
        case EVBACKEND_EPOLL:
                backend_name = "epoll";
                break;
+       case EVBACKEND_LINUXAIO:
+               backend_name = "Linux AIO";
+               break;
        case EVBACKEND_KQUEUE:
                backend_name = "kqueue";
                break;
-- 
2.25.0




More information about the Libwebsockets mailing list