summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-12-15 19:51:24 +0000
committerMark Michelson <mmichelson@digium.com>2008-12-15 19:51:24 +0000
commitc855c2c3815206ee08b7368b221e9f77af444a64 (patch)
tree75bd6fc1c7c7b2be1ee3ded81f7e1afbf9a814b0 /include/asterisk/channel.h
parent42e26ee70050c3df692c931356f9edb7fe162c6f (diff)
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
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 93ef1f1b6..3c3e0f6e1 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -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
*/