[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Ted Zlatanov |
Subject: |
Re: multi-threaded Emacs |
Date: |
Thu, 11 Dec 2008 08:41:21 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) |
On Wed, 10 Dec 2008 20:59:41 -0500 Stefan Monnier <address@hidden> wrote:
SM> Further than that, we'd need more explicit synchronization
SM> primitives. We could probably start with a (atomically &rest BODY)
SM> which guarantees that BODY will be properly protected from other
SM> threads that it will appear to be executed atomically. Such a
SM> primitive should also include constraints such as "BODY cannot
SM> include non-undoable operations", e.g. it can't save to a file.
Would it help to look at the C level and figure out which functions are
atomic (no I/O operations, IIUC), and perhaps mark them so with an
attribute? Then any ELisp function that builds on atomics is atomic
itself, presumably (except for macros and other trickery).
Ted
- Re: multi-threaded Emacs, (continued)
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/09
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/09
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/10
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/10
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/09
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/10
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/10
- Re: multi-threaded Emacs,
Ted Zlatanov <=
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/11
- Re: multi-threaded Emacs, Ted Zlatanov, 2008/12/11
- Re: multi-threaded Emacs, Paul R, 2008/12/11
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/11
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/12
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/12
- Re: multi-threaded Emacs, Paul R, 2008/12/11
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/11
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/04
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/05