emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 09 Dec 2008 14:40:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> What is the condition for thread-switching in your latest version?
>     The `yield' primitive must be explicitly called.

> I think that interface won't work very well, because it would require
> changing every Lisp program to make it cooperate with other threads.
> We need to put this into the C level.

I think if `yield' is called in accept-process-output and read_char, the
remaining places where `yield' might be needed will be fairly few.


        Stefan




reply via email to

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