From feed493993df518279d2a29c0229a76eb916bb0d Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 13 Nov 2007 13:51:53 +0000 Subject: [PATCH] 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/branches/1.4@89239 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/utils.c b/main/utils.c index 6daa1948c1..3dcb60feb4 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