From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Tom Tromey <tromey@redhat.com>
Cc: SAKURAI Masashi <m.sakurai@kiwanami.net>, emacs-devel@gnu.org
Subject: Re: Multithreading, again and again
Date: Thu, 20 Oct 2011 14:17:46 -0400 [thread overview]
Message-ID: <jwvd3drr0kw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m339enpp2u.fsf@fleche.redhat.com> (Tom Tromey's message of "Thu, 20 Oct 2011 11:09:29 -0600")
>>> 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
next prev parent reply other threads:[~2011-10-20 18:17 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 6:49 Multithreading, again and again Dmitry Antipov
2011-09-28 7:50 ` joakim
2011-09-28 7:55 ` Julien Danjou
2011-09-28 13:37 ` Stefan Monnier
2011-10-17 21:57 ` Juri Linkov
2011-10-18 1:18 ` Stefan Monnier
2011-10-19 15:18 ` Tom Tromey
2011-10-19 20:51 ` Dave Abrahams
2011-10-19 22:01 ` Stefan Monnier
2011-10-19 22:05 ` Dave Abrahams
2011-10-20 23:00 ` John Wiegley
2011-10-20 23:52 ` Dave Abrahams
2011-10-20 14:08 ` Richard Stallman
2011-10-20 1:12 ` SAKURAI Masashi
2011-10-20 17:09 ` Tom Tromey
2011-10-20 18:17 ` Stefan Monnier [this message]
2011-10-21 0:46 ` SAKURAI Masashi
2011-10-21 14:18 ` Nix
2011-10-21 14:48 ` Eli Zaretskii
2011-10-22 3:40 ` SAKURAI Masashi
2011-10-22 19:30 ` Tom Tromey
2011-10-22 20:27 ` Dave Abrahams
2011-10-18 8:24 ` Helmut Eller
2011-09-28 15:55 ` Helmut Eller
2011-10-19 15:14 ` Tom Tromey
2011-10-19 15:20 ` Tom Tromey
2011-10-19 18:30 ` Stefan Monnier
2011-10-19 19:00 ` Tom Tromey
2011-10-19 21:33 ` Stefan Monnier
2011-10-20 17:07 ` Tom Tromey
2011-10-20 18:33 ` Stefan Monnier
2011-10-20 20:54 ` Dave Abrahams
2011-10-20 20:57 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd3drr0kw.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=m.sakurai@kiwanami.net \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).