[asterisk-dev] [svn-commits] tilghman: trunk r77834 - in /trunk: UPGRADE.txt funcs/func_lock.c

Russell Bryant russell at digium.com
Tue Jul 31 12:27:32 CDT 2007


SVN commits to the Digium repositories wrote:
> Author: tilghman
> Date: Tue Jul 31 11:44:25 2007
> New Revision: 77834
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=77834
> Log:
> Add func_lock, which creates dialplan mutexes, and note that the Macro apps are now deprecated.
> (Closes issue #10264)

This should be added to CHANGES, as well.

Also, it is probably worth noting in the documentation for the functions that 
you don't need to have any special handling in the case that a channel hangs up 
in the middle of a critical section of the dialplan.  It is important to know 
that the lock will get automatically unlocked when the channel goes away instead 
of trying to handle it in the 'h' extension.

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list