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/branches/1.4@164416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2008-12-15 19:45:07 +00:00
parent 2850bf37a9
commit a43cf62956
2 changed files with 25 additions and 0 deletions

View File

@@ -1187,6 +1187,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
*/