[asterisk-dev] Dialplan - critical sections / semaphores / run-all-of

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jun 8 10:52:10 MST 2006


On Thu, Jun 08, 2006 at 11:19:00AM -0500, Kevin P. Fleming wrote:
> ----- Stephen Davies <stephen.l.davies at gmail.com> wrote:
> 
> > My idea was to put these sorts of code sections into a Macro and add
> > a
> > new way to call a Macro that first locks an associated mutex.  Or
> 
> I think adding an option to Macro, or creating a variant called MacroExclusive, 
> would be a fine idea. Unfortunately Macro's syntax doesn't lend itself to 
> taking option arguments...

Why not a separate "Mutex" application? Or a separate "Completion"
or whatever? What's so special about macros?

(Not that this helps in any way in implementing those primitives. Yeah,
I know).

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list