commit | 48f8bc13685230b45dbcded7659bd8dbc6018791 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Nov 22 18:57:37 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Nov 22 18:57:37 2018 +0100 |
tree | a3bbf4561c0e552cf21a057a6c99d61f4d9742ab | |
parent | 744a08903ecc420baa179c840aab3d8fc8547146 [diff] [blame] |
MINOR: poller: move the call of tv_update_date() back to the pollers The reason behind this will be to be able to compute a timeout when busy polling.
diff --git a/src/ev_kqueue.c b/src/ev_kqueue.c index dc1310c..a894f66 100644 --- a/src/ev_kqueue.c +++ b/src/ev_kqueue.c
@@ -143,6 +143,7 @@ kev, // struct kevent *eventlist fd, // int nevents &timeout); // const struct timespec *timeout + tv_update_date(delta_ms, status); tv_leaving_poll(delta_ms, status); thread_harmless_end();