[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are there plans for a multi-threaded Emacs?
From: |
Nic Ferrier |
Subject: |
Re: Are there plans for a multi-threaded Emacs? |
Date: |
03 Dec 2003 20:01:47 +0000 |
Richard Stallman <address@hidden> writes:
> I think migrating Emacs towards a threading model is possible:
>
> - start with all primitive or ELisp functions assumed NOT thread-safe
>
> - allow threads to run, but any access to a function needs to be
> synchronous. At first, this will effectively make threads simple
> switched tasks, and will probably make Emacs slower.
>
> Many sections of Lisp code would need to have locking in order
> to run correctly with multiple threads. For instance, everything
> of the form
>
> (setq global-list (cons foo global-list))
>
> would need locking.
And anything doing similar things using dynamic scope as well (at
least when a variable isn't local to the function but from a
previously called function). So that's about everything.
Nic
- Re: Are there plans for a multi-threaded Emacs?, (continued)
- Re: Are there plans for a multi-threaded Emacs?, Martin Stjernholm, 2003/12/04
- Re: Are there plans for a multi-threaded Emacs?, Ted Zlatanov, 2003/12/04
- Re: Are there plans for a multi-threaded Emacs?, Martin Stjernholm, 2003/12/04
- Re: Are there plans for a multi-threaded Emacs?, Ted Zlatanov, 2003/12/05
- Re: Are there plans for a multi-threaded Emacs?, Martin Stjernholm, 2003/12/05
- Re: Are there plans for a multi-threaded Emacs?, Ted Zlatanov, 2003/12/05
- Re: Are there plans for a multi-threaded Emacs?, David Kastrup, 2003/12/05
- Re: Are there plans for a multi-threaded Emacs?, Martin Stjernholm, 2003/12/05
- Re: Are there plans for a multi-threaded Emacs?, Benjamin Riefenstahl, 2003/12/05
- non-blocking auto-save (was: Are there plans for a multi-threaded Emacs?), Ted Zlatanov, 2003/12/05
Re: Are there plans for a multi-threaded Emacs?,
Nic Ferrier <=
- Re: Are there plans for a multi-threaded Emacs?, Stefan Monnier, 2003/12/03
- Re: Are there plans for a multi-threaded Emacs?, Robert J. Chassell, 2003/12/03
- Re: Are there plans for a multi-threaded Emacs?, Richard Stallman, 2003/12/04
- Re: Are there plans for a multi-threaded Emacs?, Stefan Monnier, 2003/12/04
- Re: Are there plans for a multi-threaded Emacs?, Thien-Thi Nguyen, 2003/12/04
Re: Are there plans for a multi-threaded Emacs?, Richard Stallman, 2003/12/04
Re: Are there plans for a multi-threaded Emacs?, Ted Zlatanov, 2003/12/04
Re: Are there plans for a multi-threaded Emacs?, Stefan Monnier, 2003/12/04
Re: Are there plans for a multi-threaded Emacs?, Kai Grossjohann, 2003/12/06