diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-27 14:36:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-27 14:36:43 +0100 |
commit | 04aa101da3dc40c92b1c3ce8e3503367d9dcc5f2 (patch) | |
tree | ba8a34afbeb571653d06cdb264151e16a6b4c59a /teal-src | |
parent | 22d734e305340a67304c81fdf64dd8662a41874b (diff) | |
download | prosody-04aa101da3dc40c92b1c3ce8e3503367d9dcc5f2.tar.gz prosody-04aa101da3dc40c92b1c3ce8e3503367d9dcc5f2.zip |
util.poll: Expose API (epoll or select) used
Could he handy to know for debugging or decisions
Diffstat (limited to 'teal-src')
-rw-r--r-- | teal-src/util/poll.d.tl | 5 |
1 files changed, 5 insertions, 0 deletions
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 |