]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] event pollers must not wait if a task exists in the run queue
authorWilly Tarreau <w@1wt.eu>
Fri, 13 Jun 2008 19:06:56 +0000 (21:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Jun 2008 13:23:26 +0000 (15:23 +0200)
commitd55ed24bd548f91b66e393169645636504c26769
tree572b4b322b4c7cd646171bc272fcd44f50f36eb1
parent7e2108a97374d3021f05c5eadaaf008608f976b2
[BUG] event pollers must not wait if a task exists in the run queue

Under some circumstances, a task may already lie in the run queue
(eg: inter-task wakeup). It is disastrous to wait for an event in
this case because some processing gets delayed.
src/ev_epoll.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/ev_sepoll.c