[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the state of the concurrency branch

From: Stefan Monnier
Subject: Re: the state of the concurrency branch
Date: Mon, 21 Oct 2013 12:41:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan> In theory you could imagine a scheme where timers inherit the dynamic
Stefan> bindings that are in place when the timer is setup (or when the process
Stefan> is started).
Stefan> It wouldn't provide the exact same behavior we have currently, butit
Stefan> might be made close enough to give the right behavior in practice in
Stefan> most cases.
> I had actually implemented this for new threads, but you had me take it
> out again :)

I know ;-) (tho it was slightly different, IIRC, because your code
copied the value, whereas for timers we'd need to really share the
bindings, so that assignments in the timer code are reflected back in
the other thread).

> I think this would be too magical to do just for timers.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]