[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Giuseppe Scrivano |
Subject: |
Re: multi-threaded Emacs |
Date: |
Fri, 05 Dec 2008 08:40:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Richard M Stallman <address@hidden> writes:
> Actually, yielding in QUIT will take a lot of work. It's definitely not
> "cooperative" seen from Elisp's point of view (where QUIT can be run
> implicitly all over the place).
>
> I am surprised. Perhaps you're right, but why do you think so?
> Anywhere that calls QUIT is a place where it is safe for an error to happen,
> so why not a thread switch?
The cooperative threads approach moves to Elisp packages more work as
they will have explicitly to yield control but it simplifies a lot the C
code.
I already started to change my code to allow only the execution of a
thread at a time and add a `yield' primitive.
Giuseppe
- Re: multi-threaded Emacs, (continued)
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/01
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/01
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/02
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/02
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/02
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/02
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/03
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/03
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/04
- Re: multi-threaded Emacs,
Giuseppe Scrivano <=
- Re: multi-threaded Emacs, Miles Bader, 2008/12/05
- Re: multi-threaded Emacs, Paul R, 2008/12/05
- Re: multi-threaded Emacs, Eli Zaretskii, 2008/12/05
- Re: multi-threaded Emacs, Paul R, 2008/12/05
- Re: multi-threaded Emacs, Helmut Eller, 2008/12/05
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/05
- Re: multi-threaded Emacs, Ted Zlatanov, 2008/12/05
- Re: multi-threaded Emacs, Tom Tromey, 2008/12/05
- Re: multi-threaded Emacs, Miles Bader, 2008/12/05
- Re: multi-threaded Emacs, Helmut Eller, 2008/12/06