From ccf5565ccd479a3ff888c45c370ba9d47bbfceb6 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 15 Dec 2008 19:53:08 +0000 Subject: [PATCH] Add the deadlock note to ast_spawn_extension as well git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@164422 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/pbx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 7ada1532f8..0018263807 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -492,6 +492,10 @@ int ast_extension_close(const char *pattern, const char *data, int needmore); * * 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. */