From 04aa101da3dc40c92b1c3ce8e3503367d9dcc5f2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 27 Feb 2022 14:36:43 +0100 Subject: util.poll: Expose API (epoll or select) used Could he handy to know for debugging or decisions --- teal-src/util/poll.d.tl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'teal-src') diff --git a/teal-src/util/poll.d.tl b/teal-src/util/poll.d.tl index 7e346161..28fd982b 100644 --- a/teal-src/util/poll.d.tl +++ b/teal-src/util/poll.d.tl @@ -19,6 +19,11 @@ local record lib new : function () : state ENOENT : integer EEXIST : integer + enum api_backend + "epoll" + "select" + end + api : api_backend end return lib -- cgit v1.2.3