diff options
Diffstat (limited to 'funcs/func_lock.c')
-rw-r--r-- | funcs/func_lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/funcs/func_lock.c b/funcs/func_lock.c index 2102d5c9a..e56d56dcb 100644 --- a/funcs/func_lock.c +++ b/funcs/func_lock.c @@ -23,7 +23,7 @@ * \author Tilghman Lesher <func_lock_2007@the-tilghman.com> * * \ingroup functions - * + * */ /*** MODULEINFO @@ -75,7 +75,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </syntax> <description> <para>Attempts to grab a named lock exclusively, and prevents other channels - from obtaining the same lock. Returns <literal>1</literal> if the lock was + from obtaining the same lock. Returns <literal>1</literal> if the lock was available or <literal>0</literal> otherwise.</para> <note> <para>If <literal>live_dangerously</literal> in <literal>asterisk.conf</literal> @@ -92,9 +92,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <parameter name="lockname" required="true" /> </syntax> <description> - <para>Unlocks a previously locked mutex. Returns <literal>1</literal> if the channel + <para>Unlocks a previously locked mutex. Returns <literal>1</literal> if the channel had a lock or <literal>0</literal> otherwise.</para> - <note><para>It is generally unnecessary to unlock in a hangup routine, as any locks + <note><para>It is generally unnecessary to unlock in a hangup routine, as any locks held are automatically freed when the channel is destroyed.</para></note> <note> <para>If <literal>live_dangerously</literal> in <literal>asterisk.conf</literal> |