[asterisk-commits] trunk r25523 - /trunk/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon May 8 06:38:15 MST 2006
Author: bweschke
Date: Mon May 8 08:38:14 2006
New Revision: 25523
URL: http://svn.digium.com/view/asterisk?rev=25523&view=rev
Log:
Make QueueStatusComplete manager event thread safe by wrapping it inside the already existing Queue Lock clause. #7013 (bziherl reporting)
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=25523&r1=25522&r2=25523&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Mon May 8 08:38:14 2006
@@ -3828,12 +3828,13 @@
}
ast_mutex_unlock(&q->lock);
}
- AST_LIST_UNLOCK(&queues);
astman_append(s,
"Event: QueueStatusComplete\r\n"
"%s"
"\r\n",idText);
+
+ AST_LIST_UNLOCK(&queues);
return RESULT_SUCCESS;
More information about the asterisk-commits
mailing list