From 9cd09c5214b41f65aa59ad3b0474241d481ed0bc Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Tue, 13 Nov 2007 14:03:34 +0000
Subject: [PATCH] Merged revisions 89239 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89239 | tilghman | 2007-11-13 07:51:53 -0600 (Tue, 13 Nov 2007) | 4 lines

Debugging is running into the 16-lock limit.  Increase to avoid.
(This define is only effective when debugging is turned on, so there's
no effect for most installations.)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/utils.c b/main/utils.c
index 79bfd5306a..49e559da94 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -520,7 +520,7 @@ static int dev_urandom_fd;
 #ifdef DEBUG_THREADS
 
 /*! \brief A reasonable maximum number of locks a thread would be holding ... */
-#define AST_MAX_LOCKS 16
+#define AST_MAX_LOCKS 32
 
 /* Allow direct use of pthread_mutex_t and friends */
 #undef pthread_mutex_t
-- 
GitLab