diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-23 20:31:03 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-23 20:31:03 +0100 |
commit | af95bb77e6932b17c1ad1e3f334595e52113d142 (patch) | |
tree | 0773fdbfbc966235177c828dc08222957f2b9987 /teal-src/util | |
parent | 04aa101da3dc40c92b1c3ce8e3503367d9dcc5f2 (diff) | |
download | prosody-af95bb77e6932b17c1ad1e3f334595e52113d142.tar.gz prosody-af95bb77e6932b17c1ad1e3f334595e52113d142.zip |
util.poll: Add support for the poll() API
Might be better than select(), more portable than epoll.
Diffstat (limited to 'teal-src/util')
-rw-r--r-- | teal-src/util/poll.d.tl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/teal-src/util/poll.d.tl b/teal-src/util/poll.d.tl index 28fd982b..8df56d57 100644 --- a/teal-src/util/poll.d.tl +++ b/teal-src/util/poll.d.tl @@ -17,10 +17,12 @@ end local record lib new : function () : state - ENOENT : integer EEXIST : integer + EMFILE : integer + ENOENT : integer enum api_backend "epoll" + "poll" "select" end api : api_backend |