aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-13 13:51:53 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-13 13:51:53 +0000
commit10e9706784f303bf6b9a0ae68dd74d7679492479 (patch)
treec06f7900faeb887e11593342501ac6f5c3066436
parent9920cdd91fb0e944cf58b9c94d6bac9f8dd551af (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@89239 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c
index 6daa1948c..3dcb60feb 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -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