[asterisk-commits] russell: branch russell/ast_channel_ao2 r183642 - /team/russell/ast_channel_a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Mar 21 12:52:58 CDT 2009


Author: russell
Date: Sat Mar 21 12:52:55 2009
New Revision: 183642

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=183642
Log:
Use the pre-condition tag to note that channels should be locked

Modified:
    team/russell/ast_channel_ao2/include/asterisk/autochan.h

Modified: team/russell/ast_channel_ao2/include/asterisk/autochan.h
URL: http://svn.digium.com/svn-view/asterisk/team/russell/ast_channel_ao2/include/asterisk/autochan.h?view=diff&rev=183642&r1=183641&r2=183642
==============================================================================
--- team/russell/ast_channel_ao2/include/asterisk/autochan.h (original)
+++ team/russell/ast_channel_ao2/include/asterisk/autochan.h Sat Mar 21 12:52:55 2009
@@ -98,9 +98,9 @@
  * \details
  * Traverses the list of autochans. All autochans which point to
  * old_chan will be updated to point to new_chan instead. Currently
- * this is only called from ast_do_masquerade in channel.c. If some
- * other context for calling this function should be determined, please
- * call this function with both channels locked.
+ * this is only called from ast_do_masquerade in channel.c.
+ * 
+ * \pre Both channels must be locked before calling this function.
  *
  * \param old_chan The channel that autochans may currently point to
  * \param new_chan The channel that we want to point those autochans to now




More information about the asterisk-commits mailing list