[svn-commits] tilghman: branch 1.4 r89239 - /branches/1.4/main/utils.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 13 07:51:54 CST 2007


Author: tilghman
Date: Tue Nov 13 07:51:53 2007
New Revision: 89239

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89239
Log:
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.)

Modified:
    branches/1.4/main/utils.c

Modified: branches/1.4/main/utils.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/utils.c?view=diff&rev=89239&r1=89238&r2=89239
==============================================================================
--- branches/1.4/main/utils.c (original)
+++ branches/1.4/main/utils.c Tue Nov 13 07:51:53 2007
@@ -511,7 +511,7 @@
 #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




More information about the svn-commits mailing list