commit | 058b2c1015dc8f6869757d0e9310454fa7669c8e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Jun 22 15:21:34 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 01 19:15:14 2022 +0200 |
tree | 3a6aecb44bd85f9ea388c4b55914928e70a9396b | |
parent | bdcd32598f4f10a9cdf266f5375b1600b9f8a9a3 [diff] |
MINOR: poller: centralize poll return handling When returning from the polling syscall, all pollers have a certain dance to follow, made of wall clock updates, thread harmless updates, idle time management and sleeping mask updates. Let's have a centralized function to deal with all of this boring stuff: fd_leaving_poll(), and make all the pollers use it.