[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multi-threaded Emacs
From: |
Giuseppe Scrivano |
Subject: |
Re: multi-threaded Emacs |
Date: |
Sun, 07 Dec 2008 17:15:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi,
I uploaded here a patch with the current status of my work:
http://it.gnu.org/~gscrivano/files/concurrent_threads_7_12.diff.gz
The patch adds these Elisp primitives:
(make-thread)
(run-in-thread)
(kill-thread)
(yield)
Now the garbage collector can be executed by any thread, local bindings
are done as you suggested, the symbol value is changed when Emacs
switches to another thread.
Every thread has its own current_buffer so they can work independently
on different buffers.
New code is not very clean yet, differently from the first patch I
submitted, now all thread local storage data is in a `thread_data'
struct and (make-thread) returns an object.
Any comment? (Good impressions are welcome).
Giuseppe
- Re: multi-threaded Emacs, (continued)
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/05
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/06
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/06
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/06
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/07
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/07
- Re: multi-threaded Emacs, Chetan Pandya, 2008/12/07
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/08
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/07
- Re: multi-threaded Emacs, Stefan Monnier, 2008/12/07
- Re: multi-threaded Emacs,
Giuseppe Scrivano <=
- Re: multi-threaded Emacs, Richard M Stallman, 2008/12/08
- Re: multi-threaded Emacs, Giuseppe Scrivano, 2008/12/08
- Re: multi-threaded Emacs, dhruva, 2008/12/08
- Re: multi-threaded Emacs, Stephen J. Turnbull, 2008/12/08
- Re: multi-threaded Emacs, dhruva, 2008/12/08
- Re: multi-threaded Emacs, Andreas Schwab, 2008/12/09
- 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