[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:05:56 +0000 (15:05 +0200)
commit3a6281199ab261568d2dce8714996c89d741292d
tree7a0bb326ed994dbc8941d33a0ac15b00c436c3b3
parent5c6f58fe87f8f47a215d534d8fa1a41b16cbe182
[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