[Asterisk-cvs] asterisk/channels chan_zap.c,1.163,1.164
jeremy at lists.digium.com
jeremy at lists.digium.com
Mon Jan 12 00:19:07 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv28665
Modified Files:
chan_zap.c
Log Message:
fix monitor thread. Bug #726
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.163
retrieving revision 1.164
diff -u -d -r1.163 -r1.164
--- chan_zap.c 12 Jan 2004 04:28:00 -0000 1.163
+++ chan_zap.c 12 Jan 2004 06:10:54 -0000 1.164
@@ -7048,7 +7048,7 @@
return -1;
}
if (!ast_mutex_lock(&monlock)) {
- if (monitor_thread) {
+ if (monitor_thread && (monitor_thread != -2)) {
pthread_cancel(monitor_thread);
pthread_kill(monitor_thread, SIGURG);
pthread_join(monitor_thread, NULL);
More information about the svn-commits
mailing list