From 4c0351f5e0e02b16c073cfc3d528d678f2e83e87 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 26 Jan 2009 21:32:52 +0000 Subject: [PATCH] Blocked revisions 171452 via svnmerge ........ 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-fbb531ad65f3