[asterisk-commits] murf: trunk r84331 - /trunk/utils/check_expr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 1 18:33:07 CDT 2007
Author: murf
Date: Mon Oct 1 18:33:07 2007
New Revision: 84331
URL: http://svn.digium.com/view/asterisk?view=rev&rev=84331
Log:
OK. THis a DEBUG_THREADS situation.
Modified:
trunk/utils/check_expr.c
Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=84331&r1=84330&r2=84331
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Mon Oct 1 18:33:07 2007
@@ -87,7 +87,13 @@
return res;
}
-
+#ifndef DEBUG_THREADS
+enum ast_lock_type {
+ AST_MUTEX,
+ AST_RDLOCK,
+ AST_WRLOCK,
+};
+#endif
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
int line_num, const char *func, const char *lock_name, void *lock_addr);
void ast_store_lock_info(enum ast_lock_type type, const char *filename,
More information about the asterisk-commits
mailing list