]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] modularize the polling mechanisms
authorWilly Tarreau <w@1wt.eu>
Sun, 8 Apr 2007 14:39:58 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 8 Apr 2007 14:39:58 +0000 (16:39 +0200)
commit4f60f16dd3ea2087f9e9759e00a28d101ecb0167
treea94b6836e0915abfb7e352c491a8a5269ebab8b7
parentb3107b9383d93c1cf18cbda9c0dc457f8896e48a
[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.
Makefile
Makefile.bsd
Makefile.osx
include/proto/fd.h
include/types/fd.h
include/types/polling.h
src/ev_epoll.c [new file with mode: 0644]
src/ev_poll.c [new file with mode: 0644]
src/ev_select.c [new file with mode: 0644]
src/fd.c
src/haproxy.c