aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_modem.c
diff options
context:
space:
mode:
authordhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 17:42:12 +0000
committerdhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 17:42:12 +0000
commit4aeddcfc8ca4ce6435f43e059e6cdfe50c7bcd83 (patch)
tree1cb19d7f127f04d601ac116ec21016ff36068236 /channels/chan_modem.c
parent7e4dff9572e6cf24176c910d7d0ed83cbeeeabc7 (diff)
removed pthread_join in restart_monitor() to make it like chan_zap and other channel drivers
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@61776 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_modem.c')
-rw-r--r--channels/chan_modem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_modem.c b/channels/chan_modem.c
index 8be355ea5..a77519324 100644
--- a/channels/chan_modem.c
+++ b/channels/chan_modem.c
@@ -718,7 +718,9 @@ static int restart_monitor()
}
if (monitor_thread != AST_PTHREADT_NULL) {
pthread_kill(monitor_thread, SIGURG);
+#if 0
pthread_join(monitor_thread, NULL);
+#endif
} else {
/* Start a new monitor */
if (ast_pthread_create(&monitor_thread, NULL, do_monitor, NULL) < 0) {