[asterisk-commits] dlee: branch group/performance r399888 - in /team/group/performance: ./ inclu...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 26 10:42:24 CDT 2013
Author: dlee
Date: Thu Sep 26 10:42:23 2013
New Revision: 399888
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399888
Log:
Document life cycle for route data pointers
........
Merged revisions 399868 from http://svn.asterisk.org/svn/asterisk/team/dlee/performance
Modified:
team/group/performance/ (props changed)
team/group/performance/include/asterisk/stasis_message_router.h
Propchange: team/group/performance/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Thu Sep 26 10:42:23 2013
@@ -1,1 +1,1 @@
-/branches/12:1-399753 /team/dlee/performance:1-399659 /team/dlee/stasis-forward-optimization:1-399664 /team/dlee/taskprocessor-optimization:1-399654 /team/dlee/tp-local:1-399866
+/branches/12:1-399753 /team/dlee/performance:1-399887 /team/dlee/stasis-forward-optimization:1-399664 /team/dlee/taskprocessor-optimization:1-399654 /team/dlee/tp-local:1-399866
Modified: team/group/performance/include/asterisk/stasis_message_router.h
URL: http://svnview.digium.com/svn/asterisk/team/group/performance/include/asterisk/stasis_message_router.h?view=diff&rev=399888&r1=399887&r2=399888
==============================================================================
--- team/group/performance/include/asterisk/stasis_message_router.h (original)
+++ team/group/performance/include/asterisk/stasis_message_router.h Thu Sep 26 10:42:23 2013
@@ -144,6 +144,11 @@
/*!
* \brief Remove a route from a message router.
*
+ * If a route is removed from another thread, there is no notification that
+ * all messages using this route have been processed. This typically means that
+ * the associated \c data pointer for this route must be kept until the
+ * route itself is disposed of.
+ *
* \param router Router to remove the route from.
* \param message_type Type of message to route.
*
@@ -154,6 +159,11 @@
/*!
* \brief Remove a cache route from a message router.
+ *
+ * If a route is removed from another thread, there is no notification that
+ * all messages using this route have been processed. This typically means that
+ * the associated \c data pointer for this route must be kept until the
+ * route itself is disposed of.
*
* \param router Router to remove the route from.
* \param message_type Type of message to route.
More information about the asterisk-commits
mailing list