mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user