[asterisk-commits] mjordan: branch mjordan/1.8_instrumented r366349 - /team/mjordan/1.8_instrume...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat May 12 11:58:06 CDT 2012


Author: mjordan
Date: Sat May 12 11:58:00 2012
New Revision: 366349

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=366349
Log:
More tweaking in lock.

Modified:
    team/mjordan/1.8_instrumented/main/lock.c

Modified: team/mjordan/1.8_instrumented/main/lock.c
URL: http://svnview.digium.com/svn/asterisk/team/mjordan/1.8_instrumented/main/lock.c?view=diff&rev=366349&r1=366348&r2=366349
==============================================================================
--- team/mjordan/1.8_instrumented/main/lock.c (original)
+++ team/mjordan/1.8_instrumented/main/lock.c Sat May 12 11:58:00 2012
@@ -1348,7 +1348,7 @@
 			bt = &lt->backtrace[lt->reentrancy];
 		}
 		if (!strcmp(filename, "asterisk.c")) {
-			*//*__ast_mutex_logger("Global lock released by %s line %d (%s)\n", filename, line, func);
+			/*__ast_mutex_logger("Global lock released by %s line %d (%s)\n", filename, line, func); */
 		}
 		ast_reentrancy_unlock(lt);
 		ast_store_lock_info(AST_WRLOCK, filename, line, func, name, t, bt);
@@ -1437,7 +1437,7 @@
 
 #ifdef DEBUG_THREADS
 	struct ast_lock_track *lt;
-	int canlog = strcmp(filename, "logger.c") & t->tracking;
+	/*int canlog = strcmp(filename, "logger.c") & t->tracking;*/
 #ifdef HAVE_BKTR
 	struct ast_bt *bt = NULL;
 #endif
@@ -1519,7 +1519,7 @@
 
 #ifdef DEBUG_THREADS
 	struct ast_lock_track *lt;
-	int canlog = strcmp(filename, "logger.c") & t->tracking;
+	/*int canlog = strcmp(filename, "logger.c") & t->tracking;*/
 #ifdef HAVE_BKTR
 	struct ast_bt *bt = NULL;
 #endif




More information about the asterisk-commits mailing list