[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Stefan Monnier |
Subject: |
Re: multi-threaded Emacs |
Date: |
Thu, 11 Dec 2008 15:54:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Stefan> Indeed. Further than that, we'd need more explicit
Stefan> synchronization primitives. We could probably start with
Stefan> a (atomically &rest BODY) which guarantees that BODY will be
Stefan> properly protected from other threads that it will appear to be
Stefan> executed atomically.
> Isn't it what critical sections are for ? (critical &rest BODY) would
> execute body with no thread switching. I think this feature is not
> necessary with cooperative-only threading because a critical section is
> any section that does not contain any 'yield' instruction.
We're talking about non-cooperative scenarios (e.g. yield in QUIT).
Stefan
- Re: multi-threaded Emacs, (continued)
- 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, 2008/12/11
- 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 <=
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/04
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/05
- Re: multi-threaded Emacs, Florian Beck, 2008/12/02
Re[2]: multi-threaded Emacs, ak70, 2008/12/03
Re: multi-threaded Emacs, Stefan Monnier, 2008/12/04