[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
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 8 20:42:08 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/channels chan_agent.c,1.73,1.74 chan_alsa.c,1.17,1.18 chan_h323.c,1.55,1.56 chan_iax.c,1.58,1.59 chan_iax2.c,1.149,1.150 chan_local.c,1.27,1.28 chan_mgcp.c,1.53,1.54 chan_modem.c,1.20,1.21 chan_modem_aopen.c,1.11,1.12 chan_modem_bestdata.c,1.9,1.10 chan_modem_i4l.c,1.13,1.14 chan_nbs.c,1.6,1.7 chan_oss.c,1.26,1.27 chan_phone.c,1.27,1.28 chan_sip.c,1.405,1.406 chan_skinny.c,1.44,1.45 chan_vofr.c,1.14,1.15 chan_vpb.c,1.25,1.26 chan_zap.c,1.258,1.259
- Next message: [Asterisk-cvs] asterisk/stdtime localtime.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv11896/res
Modified Files:
res_crypto.c res_monitor.c res_musiconhold.c res_parking.c
Log Message:
Merge FreeBSD locking fixes (bug #1411)
Index: res_crypto.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_crypto.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- res_crypto.c 13 Aug 2003 15:25:16 -0000 1.6
+++ res_crypto.c 9 Jun 2004 01:45:08 -0000 1.7
@@ -59,7 +59,7 @@
static char base64[64];
static char b2a[256];
-static ast_mutex_t keylock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(keylock);
#define KEY_NEEDS_PASSCODE (1 << 16)
Index: res_monitor.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_monitor.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- res_monitor.c 7 Jun 2004 16:51:21 -0000 1.16
+++ res_monitor.c 9 Jun 2004 01:45:08 -0000 1.17
@@ -23,7 +23,7 @@
#define AST_MONITOR_DIR AST_SPOOL_DIR "/monitor"
-static ast_mutex_t monitorlock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(monitorlock);
static unsigned long seq = 0;
Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- res_musiconhold.c 4 Jun 2004 15:44:14 -0000 1.28
+++ res_musiconhold.c 9 Jun 2004 01:45:08 -0000 1.29
@@ -99,7 +99,7 @@
static struct mohclass *mohclasses;
-static ast_mutex_t moh_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(moh_lock);
#define LOCAL_MPG_123 "/usr/local/bin/mpg123"
#define MPG_123 "/usr/bin/mpg123"
Index: res_parking.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_parking.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- res_parking.c 20 May 2004 16:30:10 -0000 1.23
+++ res_parking.c 9 Jun 2004 01:45:08 -0000 1.24
@@ -84,7 +84,7 @@
static struct parkeduser *parkinglot;
-static ast_mutex_t parking_lock = AST_MUTEX_INITIALIZER;
+AST_MUTEX_DEFINE_STATIC(parking_lock);
static pthread_t parking_thread;
- Previous message: [Asterisk-cvs] asterisk/channels chan_agent.c,1.73,1.74 chan_alsa.c,1.17,1.18 chan_h323.c,1.55,1.56 chan_iax.c,1.58,1.59 chan_iax2.c,1.149,1.150 chan_local.c,1.27,1.28 chan_mgcp.c,1.53,1.54 chan_modem.c,1.20,1.21 chan_modem_aopen.c,1.11,1.12 chan_modem_bestdata.c,1.9,1.10 chan_modem_i4l.c,1.13,1.14 chan_nbs.c,1.6,1.7 chan_oss.c,1.26,1.27 chan_phone.c,1.27,1.28 chan_sip.c,1.405,1.406 chan_skinny.c,1.44,1.45 chan_vofr.c,1.14,1.15 chan_vpb.c,1.25,1.26 chan_zap.c,1.258,1.259
- Next message: [Asterisk-cvs] asterisk/stdtime localtime.c,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list