Merged revisions 77943 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 2 Aug 2007 18:05:23 +0000 (18:05 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 2 Aug 2007 18:05:23 +0000 (18:05 +0000)
commit85ba8d515abbc54435f5edf2f5e27f6f28852e92
treee85df061d2f4f278ef522dd20be651627f5d3eb7
parent12ed8e8d07aa2f662bb2faf405e8291f2223ebf7
Merged revisions 77943 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r77943 | russell | 2007-08-02 13:04:43 -0500 (Thu, 02 Aug 2007) | 9 lines

Fix another race condition in the handling of dynamic threads.  If the dynamic
thread timed out waiting for something to do, but was acquired to perform an
action immediately afterwords, then wait on the condition again to give the
other thread a chance to finish setting up the data for what action this thread
should perform.  Otherwise, if it immediately continues, it will perform the
wrong action.
(reported on IRC by mihai, patch by me)
(related to issue #10289)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77944 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c