Merged revisions 164881 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Tue, 16 Dec 2008 21:39:15 +0000 (21:39 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 16 Dec 2008 21:39:15 +0000 (21:39 +0000)
commitc8da171dd19a176a16e7711764d7b341cb521174
treee4e5c11421dfc653cc28205e2265a9d11cf15deb
parentcf502aa246db616db9afc72e22e75405e6fd6a11
Merged revisions 164881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r164881 | russell | 2008-12-16 15:38:29 -0600 (Tue, 16 Dec 2008) | 9 lines

Fix an issue where DEBUG_THREADS may erroneously report that a thread
is exiting while holding a lock.

If the last lock attempt was a trylock, and it failed, it will still be in the
list of locks so that it can be reported.

(closes issue #13219)
Reported by: pj

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/utils.c