commit | 4f60f16dd3ea2087f9e9759e00a28d101ecb0167 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Apr 08 16:39:58 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Apr 08 16:39:58 2007 +0200 |
tree | a94b6836e0915abfb7e352c491a8a5269ebab8b7 | |
parent | b3107b9383d93c1cf18cbda9c0dc457f8896e48a [diff] |
[MAJOR] modularize the polling mechanisms select, poll and epoll now have their dedicated functions and have been split into distinct files. Several FD manipulation primitives have been provided with each poller. The rest of the code needs to be cleaned to remove traces of StaticReadEvent/StaticWriteEvent. A trick involving a macro has temporarily been used right now. Some work needs to be done to factorize tests and sets everywhere.