commit | 28c41a40416a8716cee1fb0581ce338bee098cf5 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Jun 29 17:00:59 2008 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 29 17:00:59 2008 +0200 |
tree | a560ed0ae3e4525086144d65d54f02d71ca4640f | |
parent | 284c7b319566a66d5b742c905072175aac6445e1 [diff] |
[MEDIUM] rework the wait queue mechanism The wait queues now rely on 4 trees for past, present and future timers. The computations are cleaner and more reliable. The wake_expired_tasks function has become simpler. Also, a bug previously introduced in task_queue() by the first introduction of eb_trees has been fixed (the eb->key was never updated).