emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-threaded Emacs


From: Richard M Stallman
Subject: Re: multi-threaded Emacs
Date: Tue, 02 Dec 2008 11:02:38 -0500

      If an Elisp primitive is
    waiting for some data from a file or a socket, Emacs will hang until it
    is ready.

This is a real issue, but the solution is so easy
that it is not a real problem.

Activies that can wait a long time
use wait_reading_process_output
which already implements some parallelism.
Naturally we would arrange to enable thread-switching there.

    IMHO, concurrent threads itself are not very useful, they can be useful
    if considered a first step in the direction of a real parallelism.

If "concurrent threads" means "threads that can only switch where the
program lets them", they are very useful in Emacs for the sake of multiple
terminals.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]