diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-15 19:45:07 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-15 19:45:07 +0000 |
commit | eb67352eca8cf420d7402b49383c85747b6ee905 (patch) | |
tree | 8a6e44c9163ad619bd7f7ce6c43df9da8af3b626 /include/asterisk/channel.h | |
parent | 70c1df69603ef59791c57d5f9fd86ef6a13c3f45 (diff) |
Add notes to autoservice and pbx doxygen regarding a potential
deadlock scenario so that it is avoided in the future
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@164416 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 05e44449c..29b31b884 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -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 */ |