[Top][All Lists]

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

Re: "concurrency" branch updated

From: Tom Tromey
Subject: Re: "concurrency" branch updated
Date: Thu, 05 Nov 2015 14:49:23 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

RMS> We don't need radical changes such as CPS to implement concurrent Lisp.
RMS> All we need is multiple stacks.

This is what is done on the branch.

RMS> It seems to me that in Emacs there is no need to be able to switch threads
RMS> except when a thread is waiting.  That should make things much simpler.

This is also what is implemented.

However, it's better to eventually yield the global lock periodically in
somewhere (maybe QUIT, but that might be trouble), so that threads don't
have to explicitly yield.  FWIW this is what Python does.


reply via email to

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