]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Debugging is running into the 16-lock limit. Increase to avoid.
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Nov 2007 13:51:53 +0000 (13:51 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 13 Nov 2007 13:51:53 +0000 (13:51 +0000)
(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/branches/1.4@89239 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/utils.c

index 6daa1948c19680c9c02900e785277a065f2bc55e..3dcb60feb4b4dabf5aa174022dc047411673465e 100644 (file)
@@ -511,7 +511,7 @@ const char *ast_inet_ntoa(struct in_addr ia)
 #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