[asterisk-commits] dhubbard: branch 1.2 r61776 - /branches/1.2/channels/chan_modem.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Apr 24 10:42:13 MST 2007


Author: dhubbard
Date: Tue Apr 24 12:42:12 2007
New Revision: 61776

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61776
Log:
removed pthread_join in restart_monitor() to make it like chan_zap and other channel drivers

Modified:
    branches/1.2/channels/chan_modem.c

Modified: branches/1.2/channels/chan_modem.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_modem.c?view=diff&rev=61776&r1=61775&r2=61776
==============================================================================
--- branches/1.2/channels/chan_modem.c (original)
+++ branches/1.2/channels/chan_modem.c Tue Apr 24 12:42:12 2007
@@ -718,7 +718,9 @@
 	}
 	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) {



More information about the asterisk-commits mailing list