emacs-devel
[Top][All Lists]
Advanced

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

Re: Are there plans for a multi-threaded Emacs?


From: Richard Stallman
Subject: Re: Are there plans for a multi-threaded Emacs?
Date: Wed, 03 Dec 2003 12:16:49 -0500

    I think migrating Emacs towards a threading model is possible:

    - start with all primitive or ELisp functions assumed NOT thread-safe

    - allow threads to run, but any access to a function needs to be
      synchronous.  At first, this will effectively make threads simple
      switched tasks, and will probably make Emacs slower.

Many sections of Lisp code would need to have locking in order
to run correctly with multiple threads.  For instance, everything
of the form

  (setq global-list (cons foo global-list))

would need locking.




reply via email to

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