]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] task: don't scan the run queue if we know it's empty
authorWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 18:08:49 +0000 (20:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 10 Sep 2011 18:08:49 +0000 (20:08 +0200)
commit98c6121ee5b7acff3b5477f50b7fcc6e198a4f82
tree3ab18286f4cc352dbf8009fa614558aadaf10fa4
parent576132e5336aa7011df021fc9409a07d73d646d3
[OPTIM] task: don't scan the run queue if we know it's empty

It happens quite often in fact, so let's save those precious cycles.
src/task.c