[Asterisk-cvs] asterisk asterisk.c,1.178,1.179

kpfleming kpfleming
Thu Sep 1 18:02:11 CDT 2005


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

Modified Files:
	asterisk.c 
Log Message:
eliminate the urgent handler message, since it can causing blocking in the stdio library (issue #5087)


Index: asterisk.c
===================================================================
RCS file: /usr/cvsroot/asterisk/asterisk.c,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -d -r1.178 -r1.179
--- asterisk.c	31 Aug 2005 22:12:23 -0000	1.178
+++ asterisk.c	1 Sep 2005 22:03:10 -0000	1.179
@@ -631,8 +631,12 @@
 	/* Called by soft_hangup to interrupt the poll, read, or other
 	   system call.  We don't actually need to do anything though.  */
 	/* Cannot EVER ast_log from within a signal handler */
+	/* SLD: seems to be some pthread activity relating to the printf anyway:
+	 * which is leading to a deadlock? */
+#if 0
 	if (option_debug > 2) 
 		printf("-- Asterisk Urgent handler\n");
+#endif
 	signal(num, urg_handler);
 	return;
 }




More information about the svn-commits mailing list