Files
asterisk/main
Joshua Colp 85e1cb51b2 sched: ast_sched_del may return prematurely due to spurious wakeup
When deleting a scheduled item if the item in question is currently
executing the ast_sched_del function waits until it has completed.
This is accomplished using ast_cond_wait. Unfortunately the
ast_cond_wait function can suffer from spurious wakeups so the
predicate needs to be checked after it returns to make sure it has
really woken up as a result of being signaled.

This change adds a loop around the ast_cond_wait to make sure that
it only exits when the executing task has really completed.

ASTERISK-25355 #close

Change-Id: I51198270eb0b637c956c61aa409f46283432be61
2015-08-28 21:57:14 -03:00
..
2015-04-12 13:58:49 -05:00
2015-06-02 16:27:51 -05:00
2012-06-15 16:20:16 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2015-01-30 16:47:50 +00:00
2015-03-25 18:37:04 +00:00
2014-10-10 13:01:41 +00:00
2015-07-29 12:23:43 -05:00
2015-06-05 02:16:24 -05:00
2013-07-04 13:06:15 +00:00
2013-06-29 00:18:57 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2015-08-07 14:55:53 -05:00
2015-06-02 16:27:51 -05:00
2012-06-15 16:20:16 +00:00
2015-06-03 14:03:18 -05:00
2012-06-15 16:20:16 +00:00
2015-01-26 14:49:32 +00:00
2012-09-21 17:14:59 +00:00
2015-06-03 14:03:18 -05:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00