[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile 2.0.1 fluid *current-language* failed to initialize in multi-t
From: |
Andy Wingo |
Subject: |
Re: guile 2.0.1 fluid *current-language* failed to initialize in multi-thread app |
Date: |
Mon, 30 May 2011 10:57:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Sun 29 May 2011 19:16, 亚光唐 <address@hidden> writes:
> I print out the call stack and check the source code, I found that the
> *current-language*
> variable is '#f" in the child thread. I think there must be something wrong.
You're right, the initial value of fluids in threads that are not
spawned from a Guile thread is #f. I think this is a bug, but it's
longstanding behavior, so we can't change it in 2.0 I think (or can
we?).
But anyway, the rest of the code is usually careful to provide a default
value if a fluid is #f, but not so in this case it seems. Thanks for
the report; will fix.
Cheers,
Andy
--
http://wingolog.org/