sched.c: Ensure oldest expiring entry runs first.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 7 Mar 2016 21:50:22 +0000 (15:50 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 16 Mar 2016 19:22:19 +0000 (14:22 -0500)
commit9a7cfa2b61d90bc229d478b669833a6caf19b0c1
treef7cc8a1d070ac1acaf885c474c4a6967b184cb38
parent20d67cc6f5e792581455e49dbe87f8cf68a16755
sched.c: Ensure oldest expiring entry runs first.

This patch is part of a series to resolve deadlocks in chan_sip.c.

* Updated sched unit test to check new behavior.

ASTERISK-25023

Change-Id: Ib69437327b3cda5e14c4238d9ff91b2531b34ef3
main/sched.c
tests/test_sched.c