Merged revisions 78028 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 3 Aug 2007 02:05:02 +0000 (02:05 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 3 Aug 2007 02:05:02 +0000 (02:05 +0000)
commitbcabfbb89ade46abd186c74a377ba6fab95d2a47
treee140afee6ed6841db0941f6e63d9d4437299bb6b
parent1064b75ab7ca38a69c391d7569fc16e7cbf30ab3
Merged revisions 78028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r78028 | russell | 2007-08-02 21:04:22 -0500 (Thu, 02 Aug 2007) | 6 lines

Don't reuse the timespec that was set to 0 in the previous timedwait as it
will just return immediately.  Also, fix some logic so the thread's lock
isn't unlocked twice in the weird case of dynamic threads getting acquired
right after a timeout.
(pointed out by SteveK)

........

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