]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
removed pthread_join in restart_monitor() to make it like chan_zap and other channel...
authorDwayne M. Hubbard <dwayne.hubbard@gmail.com>
Tue, 24 Apr 2007 17:42:12 +0000 (17:42 +0000)
committerDwayne M. Hubbard <dwayne.hubbard@gmail.com>
Tue, 24 Apr 2007 17:42:12 +0000 (17:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61776 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_modem.c

index 8be355ea59f7c1be2f8f755286cc175668b4f105..a77519324be30c251d8cfc2b356bf6c47183b7ab 100644 (file)
@@ -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) {