[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multithreading, again and again
From: |
Tom Tromey |
Subject: |
Re: Multithreading, again and again |
Date: |
Wed, 19 Oct 2011 09:18:20 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
[ threading ]
Stefan> We could provide a `fork' primitive, indeed.
My impression is that 'fork' is difficult to implement portably. You
could try, I suppose. Or there's "run a separate Emacs and communicate
over pipes":
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00534.html
There are some aspects of sharing that may be hard (file descriptors).
Also setting up initial state of the worker process is hard if one
cannot truly fork.
I do wonder why there hasn't been more experimentation with this
approach, though, given that it is doable today just by running emacs as
a subprocess.
Tom
- Re: Multithreading, again and again, Juri Linkov, 2011/10/17
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/17
- Re: Multithreading, again and again,
Tom Tromey <=
- Re: Multithreading, again and again, Dave Abrahams, 2011/10/19
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/19
- Re: Multithreading, again and again, Dave Abrahams, 2011/10/19
- Re: Multithreading, again and again, John Wiegley, 2011/10/20
- Re: Multithreading, again and again, Dave Abrahams, 2011/10/20
- Re: Multithreading, again and again, Richard Stallman, 2011/10/20
- Re: Multithreading, again and again, SAKURAI Masashi, 2011/10/19
- Re: Multithreading, again and again, Tom Tromey, 2011/10/20
- Re: Multithreading, again and again, Stefan Monnier, 2011/10/20
- Re: Multithreading, again and again, SAKURAI Masashi, 2011/10/20