https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r89239 | tilghman | 2007-11-13 07:51:53 -0600 (Tue, 13 Nov 2007) | 4 lines
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/trunk@89240
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
#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