Merged revisions 164416 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r164416 | mmichelson | 2008-12-15 13:45:07 -0600 (Mon, 15 Dec 2008) | 4 lines

Add notes to autoservice and pbx doxygen regarding a potential
deadlock scenario so that it is avoided in the future


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-12-15 19:51:24 +00:00
parent 42e26ee700
commit c855c2c381
2 changed files with 25 additions and 0 deletions

View File

@@ -1429,6 +1429,11 @@ int ast_autoservice_start(struct ast_channel *chan);
/*!
* \brief Stop servicing a channel for us...
*
* \note if chan is locked prior to calling ast_autoservice_stop, it
* is likely that there will be a deadlock between the thread that calls
* ast_autoservice_stop and the autoservice thread. It is important
* that chan is not locked prior to this call
*
* \retval 0 success
* \retval -1 error, or the channel has been hungup
*/