[Bordeaux-threads-devel] [PATCH] liftfix, fluids, default-special-bindings

Stelian Ionescu stelian.ionescu-zeus at poste.it
Sat Jan 10 22:27:42 UTC 2009


On Thu, 2009-01-08 at 19:21 +0000, Martin Simmons wrote:
> >>>>> On Sun, 28 Dec 2008 18:06:44 +0100, Stelian Ionescu said:
> > 
> > On Sat, 2008-12-27 at 21:10 -0600, Stephen Compall wrote:
> > 
> > > and *default-special-bindings*.
> > 
> > pushed with a few modifications
> > 
> > I also added default initialization forms to *default-special-bindings*:
> > the rebound specials are those bound by with-standard-io-syntax, with
> > the addition of *break-on-signals* and *random-state*
> 
> I think those default initializations are a bad idea.  Anyone setting them
> globally either wants that effect or needs to learn about let.  Conversely, it
> could be quite annoying not to be able to set *break-on-signals* for all
> threads.

Good point. I removed the default bindings of *break-on-signals* and
*random-state* leaving only those bound by with-standard-io-syntax.
I also added a new keyword argument to make-thread: initial-bindings
which defaults to *default-special-bindings*.

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/bordeaux-threads-devel/attachments/20090110/32333077/attachment.sig>


More information about the bordeaux-threads-devel mailing list