Merged revisions 89239 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Nov 2007 14:03:34 +0000 (14:03 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Nov 2007 14:03:34 +0000 (14:03 +0000)
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

index 79bfd53..49e559d 100644 (file)
@@ -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