From 9fa2d841910cbc48022739db42de6faac4e433c1 Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Thu, 17 Apr 2008 20:27:52 +0000 Subject: [PATCH] Blocked revisions 114187 via svnmerge ........ r114187 | murf | 2008-04-16 14:54:41 -0600 (Wed, 16 Apr 2008) | 1 line A small enhancement-- I added the routine log_show_lock to utils.c, which if the mentioned lock has been acquired, this routine will log to the console the normal info about that lock you'd see from the CLI when you do a 'core show locks'. It's solely for debug-- if the lock is NOT acquired, there is no output. I use it to show 'unexpected' locks, to see where/why a lock is pre-locked. This command is to be called from points of interest, like just before a trylock, and helps to spot fleeting, highly temporal locks that normally are not locked... ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114223 65c4cc65-6c06-0410-ace0-fbb531ad65f3