]> git.kaiwu.me - 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:22:50 +0000 (15:22 +0200)
commitf4c7353757cad736354a9cedc5d86d9a295860a3
tree8da517208d5fe588d3d29f15613738a4b8717e3b
parent97da34a8b4d9948fef4d16373ba91ed5af5dc1d4
[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