From: Dwayne M. Hubbard Date: Tue, 24 Apr 2007 17:42:12 +0000 (+0000) Subject: removed pthread_join in restart_monitor() to make it like chan_zap and other channel... X-Git-Tag: 1.2.18~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654c04bfc9b8a3ab5d28316d6e3f183df450b0e1;p=thirdparty%2Fasterisk.git removed pthread_join in restart_monitor() to make it like chan_zap and other channel drivers git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61776 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_modem.c b/channels/chan_modem.c index 8be355ea59..a77519324b 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) {