[Asterisk-cvs] asterisk/stdtime localtime.c,1.6,1.7
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 8 20:42:08 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/res res_crypto.c,1.6,1.7 res_monitor.c,1.16,1.17 res_musiconhold.c,1.28,1.29 res_parking.c,1.23,1.24
- Next message: [Asterisk-cvs] asterisk/channels chan_zap.c,1.259,1.260
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/stdtime
In directory mongoose.digium.com:/tmp/cvs-serv11896/stdtime
Modified Files:
localtime.c
Log Message:
Merge FreeBSD locking fixes (bug #1411)
Index: localtime.c
===================================================================
RCS file: /usr/cvsroot/asterisk/stdtime/localtime.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- localtime.c 27 Oct 2003 20:00:41 -0000 1.6
+++ localtime.c 9 Jun 2004 01:45:08 -0000 1.7
@@ -184,10 +184,10 @@
static int gmt_is_set;
#ifdef _THREAD_SAFE
-static ast_mutex_t lcl_mutex = AST_MUTEX_INITIALIZER;
-static ast_mutex_t tzset_mutex = AST_MUTEX_INITIALIZER;
-static ast_mutex_t tzsetwall_mutex = AST_MUTEX_INITIALIZER;
-static ast_mutex_t gmt_mutex = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(lcl_mutex);
+AST_MUTEX_DEFINE_STATIC(tzset_mutex);
+AST_MUTEX_DEFINE_STATIC(tzsetwall_mutex);
+AST_MUTEX_DEFINE_STATIC(gmt_mutex);
#endif
/*
- Previous message: [Asterisk-cvs] asterisk/res res_crypto.c,1.6,1.7 res_monitor.c,1.16,1.17 res_musiconhold.c,1.28,1.29 res_parking.c,1.23,1.24
- Next message: [Asterisk-cvs] asterisk/channels chan_zap.c,1.259,1.260
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list