Merged revisions 126573 via svnmerge from
commit9861f9b86361415441788f2ed3ac190237e4134a
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 30 Jun 2008 16:07:25 +0000 (30 16:07 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 30 Jun 2008 16:07:25 +0000 (30 16:07 +0000)
tree1bdb9d382b7518c4a02fb053e9e529e6d25b2173
parent44b8f199e782247f7c41db3703e5af852cc35729
Merged revisions 126573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r126573 | russell | 2008-06-30 11:05:08 -0500 (Mon, 30 Jun 2008) | 10 lines

Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
macro.  This caused the lock to not actually be released, and as a result, not
avoid deadlocks at all.  This resolves the issues reported in the last while about
Asterisk locking up all over the place (and most commonly, in chan_iax2).

(closes issue #12927)
(closes issue #12940)
(closes issue #12925)
(potentially closes others ...)

........

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126574 614ede4d-c843-0410-af14-a771ab80d22e
include/asterisk/lock.h