[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: |
Richard Stallman |
Subject: |
Re: Are there plans for a multi-threaded Emacs? |
Date: |
Thu, 04 Dec 2003 02:33:47 -0500 |
Dynamic binding causes no trouble for multiple threads if each thread has
its own binding stack and switching threads swaps the bindings.
However, code like
(setq global-list (cons foo global-list))
is a completely separate issue. The problem here is that thread
switching needs to be prevented between the access to global-list
and the modification of global-list. Of course, the potential
for collision exists because global-list may be referred to elsewhere.
But it does not depend on dynamic bindings. If nobody ever binds
global-list, if its global binding is the only one, the problem
still occurs.
Re: Are there plans for a multi-threaded Emacs?, Nic Ferrier, 2003/12/03
- 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 <=
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
Re: Are there plans for a multi-threaded Emacs?, Martin Stjernholm, 2003/12/07