[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.31,1.32

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Jan 12 11:40:33 CST 2004


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

Modified Files:
	chan_mgcp.c 
Log Message:
fix monitor thread issue, even though commented out


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- chan_mgcp.c	9 Dec 2003 00:02:06 -0000	1.31
+++ chan_mgcp.c	12 Jan 2004 17:32:19 -0000	1.32
@@ -3043,7 +3043,7 @@
 		return -1;
 	}
 	if (!ast_mutex_lock(&monlock)) {
-		if (monitor_thread) {
+		if (monitor_thread && (monitor_thread != -2)) {
 			pthread_cancel(monitor_thread);
 			pthread_kill(monitor_thread, SIGURG);
 			pthread_join(monitor_thread, NULL);




More information about the svn-commits mailing list