[Asterisk-cvs] asterisk/res res_features.c,1.72,1.73

markster markster
Wed Sep 28 19:13:37 CDT 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv7993/res

Modified Files:
	res_features.c 
Log Message:
Remove possibility of manager deadlocks from manager actions


Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- res_features.c	14 Sep 2005 20:46:50 -0000	1.72
+++ res_features.c	28 Sep 2005 23:10:14 -0000	1.73
@@ -1876,8 +1876,7 @@
 
         cur=parkinglot;
         while(cur) {
-			ast_mutex_lock(&s->lock);
-                ast_cli(s->fd, "Event: ParkedCall\r\n"
+			ast_cli(s->fd, "Event: ParkedCall\r\n"
 			"Exten: %d\r\n"
 			"Channel: %s\r\n"
 			"Timeout: %ld\r\n"
@@ -1890,7 +1889,6 @@
 			,(cur->chan->cid.cid_num ? cur->chan->cid.cid_num : "")
 			,(cur->chan->cid.cid_name ? cur->chan->cid.cid_name : "")
 			,idText);
-			ast_mutex_unlock(&s->lock);
 
             cur = cur->next;
         }




More information about the svn-commits mailing list