mirror of http://gerrit.asterisk.org/asterisk
........ r171452 | russell | 2009-01-26 15:31:59 -0600 (Mon, 26 Jan 2009) | 13 lines Resolve some synchronization issues in chan_iax2 scheduler handling. The important changes here are related to the synchronization between threads adding items into the scheduler and the scheduler handling thread. By adjusting the lock and condition handling, we ensure that the scheduler thread sleeps no longer and no less than it is supposed to. We also ensure that it does not wake up more often than it has to. There is no bug report associated with this. It is just something that I found while putting scheduler thread handling into a reusable form (review 129). Review: http://reviewboard.digium.com/r/131/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@171453 65c4cc65-6c06-0410-ace0-fbb531ad65f31.6.2
parent
e9beff5969
commit
4c0351f5e0