diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-07 21:11:33 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-07 21:11:33 +0000 |
commit | 6a3cb06cc04e46106199a684f6964138c52b278d (patch) | |
tree | 00ec8dd5212d50dc50276768ea9f6c2f7c203dc9 /contrib | |
parent | 2c0065d862ffa9a8320a4df37ac6891c9fc36fb8 (diff) |
Fix up a problem that was introduced into the scheduler when it was converted
to use doubly linked lists. The schedule() function had an optimization that
had it try to guess which direction would be better for the traversal to insert
the task into the scheduler queue. However, if the code chose the path where
it traversed the queue in reverse, and the result was that the task should be
at the head of the queue, then the code would actually put it at the tail,
instead.
(Problem found by bbryant, debugged and fixed by bbryant and me)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115537 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions