[Asterisk-cvs] asterisk/include/asterisk module.h,1.18,1.19

kpfleming at lists.digium.com kpfleming at lists.digium.com
Thu Jun 23 22:14:32 CDT 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv24396/include/asterisk

Modified Files:
	module.h 
Log Message:
don't use locks when reading usecounts (reading only, not writing)


Index: module.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/module.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- module.h	6 Jun 2005 20:27:51 -0000	1.18
+++ module.h	24 Jun 2005 02:15:04 -0000	1.19
@@ -210,9 +210,7 @@
 }
 
 #define STANDARD_USECOUNT(res) { \
-	ast_mutex_lock(&localuser_lock); \
 	res = localusecnt; \
-	ast_mutex_unlock(&localuser_lock); \
 }
 	
 	




More information about the svn-commits mailing list