[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Richard M Stallman |
Subject: |
Re: multi-threaded Emacs |
Date: |
Thu, 04 Dec 2008 21:59:03 -0500 |
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?
A slightly more conservative approach would be to thread-switch from
QUIT on certain circumstances, such as, if the innermost
unwind-protect has calls to Lisp code inside it. We could arrange
for the specpdl to have the requisite info.
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/01
- 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 <=
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/05
- 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