emacs-devel
[Top][All Lists]
Advanced

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

Re: Multithreading, again and again


From: Stefan Monnier
Subject: Re: Multithreading, again and again
Date: Thu, 20 Oct 2011 14:17:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>>> Multi-threading and GUI is very sensitive topic. 
>>> Multithreaded toolkits: A failed dream? | Java.net
>>> http://weblogs.java.net/blog/kgh/archive/2004/10/multithreaded_t.html
>>> I think this problem exists in Emacs too.
> Emacs doesn't have this problem in the classic way, because most GUI
> operations in Emacs Lisp are actually side effects of buffer- or keymap-
> modifications.

Or rather because Emacs's GUI is event driven and that your work doesn't
make it multithreaded.

Basically, Emacs uses a MVC approach and your work makes the controller
multithreaded but the viewer (which is implemented in C) is still single
threaded.


        Stefan



reply via email to

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