[asterisk-commits] file: branch 1.6.0 r169870 - in /branches/1.6.0: ./ main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 21 17:27:19 CST 2009
Author: file
Date: Wed Jan 21 17:27:19 2009
New Revision: 169870
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169870
Log:
Merged revisions 169869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r169869 | file | 2009-01-21 19:25:27 -0400 (Wed, 21 Jan 2009) | 11 lines
Merged revisions 169867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r169867 | file | 2009-01-21 19:20:47 -0400 (Wed, 21 Jan 2009) | 4 lines
Read lock the contexts to maintain the locking order when we are notified that the state of a device has changed.
(closes issue #13839)
Reported by: mcallist
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/main/pbx.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/main/pbx.c?view=diff&rev=169870&r1=169869&r2=169870
==============================================================================
--- branches/1.6.0/main/pbx.c (original)
+++ branches/1.6.0/main/pbx.c Wed Jan 21 17:27:19 2009
@@ -3267,6 +3267,7 @@
{
struct ast_hint *hint;
+ ast_rdlock_contexts();
AST_RWLIST_RDLOCK(&hints);
AST_RWLIST_TRAVERSE(&hints, hint, list) {
@@ -3304,6 +3305,7 @@
}
AST_RWLIST_UNLOCK(&hints);
+ ast_unlock_contexts();
}
static int statechange_queue(const char *dev)
More information about the asterisk-commits
mailing list