From e5c0052348dbb3126c5964250bd1d91e36b70f9f Mon Sep 17 00:00:00 2001 From: mmichelson Date: Mon, 15 Dec 2008 19:53:29 +0000 Subject: Merged revisions 164422 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r164422 | mmichelson | 2008-12-15 13:53:08 -0600 (Mon, 15 Dec 2008) | 3 lines Add the deadlock note to ast_spawn_extension as well ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164423 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/pbx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index a2f1222c4..7847bc598 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -507,6 +507,10 @@ int ast_extension_cmp(const char *a, const char *b); * * This adds a new extension to the asterisk extension list. * + * \note It is possible for autoservice to be started and stopped on c during this + * function call, it is important that c is not locked prior to calling this. Otherwise + * a deadlock may occur + * * \retval 0 on success * \retval -1 on failure. */ -- cgit v1.2.3