Thanks, good to know because I was wondering if I have to protect special
variables in some ways.


2013/1/18 Matthew Mondor <mm_li...@pulsar-zone.net>

> On Fri, 18 Jan 2013 22:40:49 +0100
> Juan Jose Garcia-Ripoll <juanjose.garciarip...@gmail.com> wrote:
>
> > On Fri, Jan 18, 2013 at 9:50 PM, Matthew Mondor <
> mm_li...@pulsar-zone.net>wrote:
> >
> > > If you however want to create them from a thread using
> > > defparameter/defvar, I'd have to check but my guess is that ECL uses
> > > the necessary locks internally for its own package/symbol management.
> > > My experience is with special variables to be created before the other
> > > threads are launched.
> > >
> >
> > One thing that can be easily implemented, but which is currently
> > deactivated, would be to copy all the special variable bindings from the
> > parent thread, so that one may do
> >
> > (let ((variable value))
> >   (declare (special variable))
> >   ... launch process ...)
> >
> > and the process starts with an outer binding of VARIABLE. I never
> > implemented it because I am not sure what people are used to in the Lisp
> > world.
>
> How would process-wide (shared with all threads) bindings be done if
> all special variables were automatically locally bound in new threads?
> Perhaps that I misunderstood, though.
>
> Thanks,
> --
> Matt
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> Ecls-list mailing list
> Ecls-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>



-- 
Bc. Peter Vaňušanik
http://www.bishojo.tk
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to