[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Stefan Monnier |
Subject: |
Re: multi-threaded Emacs |
Date: |
Sun, 30 Nov 2008 22:37:58 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>> let-binding, of course. It's probably the only one that matters
>>>> (besides the internal ones like current_buffer).
>>> Isn't enough to have a separate `specpdl' for every thread?
>> Not sure what you mean. My above text is talking about the provided
>> behavior, not about the implementation that provides it.
> Sorry, I wasn't clear. If we will store thread local data only on
> `specpdl', and I think it is the proper way, thread local data will not
> be persistent among calls to `run-in-thread'.
You mean you want to use the code #2 rather than code #3 to implement
dynamic scoping? That might be OK, but I think it's going to take more
work than #3 and will require more care w.r.t performance impact since
it tends to make `symbol-value' algorithmically slower.
Stefan
- multi-threaded Emacs, Giuseppe Scrivano, 2008/11/29
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/29
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/29
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/29
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/30
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/30
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/30
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/30
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/30
- Re: multi-threaded Emacs,
Stefan Monnier <=
Re: multi-threaded Emacs, Tom Tromey, 2008/11/29
Re: multi-threaded Emacs, Richard M Stallman, 2008/11/30
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/30
- Re: multi-threaded Emacs, Miles Bader, 2008/11/30
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/30
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/11/30
- Re: multi-threaded Emacs, Chetan Pandya, 2008/11/30
- Re: multi-threaded Emacs, Stefan Monnier, 2008/11/30