[asterisk-commits] tilghman: trunk r97198 - in /trunk: ./ main/autoservice.c main/utils.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 8 14:56:38 CST 2008


Author: tilghman
Date: Tue Jan  8 14:56:38 2008
New Revision: 97198

URL: http://svn.digium.com/view/asterisk?view=rev&rev=97198
Log:
Merged revisions 97194 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r97194 | tilghman | 2008-01-08 14:47:07 -0600 (Tue, 08 Jan 2008) | 3 lines

Increase constants to where we're less likely to hit them while debugging.
(Closes issue #11694)

........

Modified:
    trunk/   (props changed)
    trunk/main/autoservice.c
    trunk/main/utils.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/autoservice.c
URL: http://svn.digium.com/view/asterisk/trunk/main/autoservice.c?view=diff&rev=97198&r1=97197&r2=97198
==============================================================================
--- trunk/main/autoservice.c (original)
+++ trunk/main/autoservice.c Tue Jan  8 14:56:38 2008
@@ -43,7 +43,7 @@
 #include "asterisk/lock.h"
 #include "asterisk/utils.h"
 
-#define MAX_AUTOMONS 256
+#define MAX_AUTOMONS 1500
 
 struct asent {
 	struct ast_channel *chan;

Modified: trunk/main/utils.c
URL: http://svn.digium.com/view/asterisk/trunk/main/utils.c?view=diff&rev=97198&r1=97197&r2=97198
==============================================================================
--- trunk/main/utils.c (original)
+++ trunk/main/utils.c Tue Jan  8 14:56:38 2008
@@ -510,7 +510,7 @@
 #ifdef DEBUG_THREADS
 
 /*! \brief A reasonable maximum number of locks a thread would be holding ... */
-#define AST_MAX_LOCKS 32
+#define AST_MAX_LOCKS 64
 
 /* Allow direct use of pthread_mutex_t and friends */
 #undef pthread_mutex_t




More information about the asterisk-commits mailing list