commit | e85254559457d11809c9f6ccaf9e5ca38a84e74e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Jan 25 09:58:06 2014 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jan 26 00:42:32 2014 +0100 |
tree | f30926ec34c1a99cacb708ccf431e992f481ace6 | |
parent | 6c11bd2f89eb043fd493d77b784198e90e0a01b2 [diff] |
MEDIUM: polling: centralize polled events processing Currently, each poll loop handles the polled events the same way, resulting in a lot of duplicated, complex code. Additionally, epoll was the only one to handle newly created FDs immediately. So instead, let's move that code to fd.c in a new function dedicated to this task : fd_process_polled_events(). All pollers now use this function.