aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-01 22:03:10 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-01 22:03:10 +0000
commitb56818b4802500ed8fa8e41c9e4b408e52d42e1a (patch)
tree92b044b634b7cdae67b4fdfa1d8a235df872746d /asterisk.c
parentdc127348160c1522d1b25087690a2f61051bf5af (diff)
eliminate the urgent handler message, since it can causing blocking in the stdio library (issue #5087)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6492 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c
index d6a41b506..179f16ccb 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -631,8 +631,12 @@ static void urg_handler(int num)
/* 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;
}