[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: |
Wed, 03 Dec 2008 15:14:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> Yes, I was referring to the cooperating threads model using a QUIT
> macro.
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).
By cooperative thread model, I mean that we can switch context either
when we already do (i.e. when waiting for user/process/network input),
or when running some new `yield' Elisp function.
> How can it be used by gnus while fetching new data? Will it
> give the control to another thread immediately after the trasfer begins?
As written above (and earlier as well), Emacs will switch threads when
waiting for network input.
Stefan
- 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 <=
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/04
- 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