From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: What's the problem? Date: Fri, 12 Dec 2003 18:55:58 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <4nllpt3hr3.fsf@lockgroove.bwh.harvard.edu> <5bad69zd43.fsf@lister.roxen.com> <4noeuon378.fsf@lockgroove.bwh.harvard.edu> <4ny8tsgxy6.fsf@lockgroove.bwh.harvard.edu> <4nhe0ggv0u.fsf@lockgroove.bwh.harvard.edu> <4nk75bwjaf.fsf@lockgroove.bwh.harvard.edu> <4nsmjv8d32.fsf@collins.bwh.harvard.edu> <87iskpbloe.fsf@mail.jurta.org> Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUxGx-0003DT-00 for ; Sat, 13 Dec 2003 01:04:39 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUxGv-0007Bf-00 for ; Sat, 13 Dec 2003 01:04:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUy7o-0003pD-3Z for emacs-devel@quimby.gnus.org; Fri, 12 Dec 2003 19:59:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AUy7b-0003lQ-00 for emacs-devel@gnu.org; Fri, 12 Dec 2003 19:59:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AUy7L-0003gp-2x for emacs-devel@gnu.org; Fri, 12 Dec 2003 19:58:59 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUy7K-0003ge-L0 for emacs-devel@gnu.org; Fri, 12 Dec 2003 19:58:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AUx8Y-0004zh-Qy; Fri, 12 Dec 2003 18:55:58 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 11 Dec 2003 09:12:17 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18662 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18662 What we're talking about is basically multiple-stacks, context-switches done only from Feval (i.e. at elisp granularity so there's no concurrency in the C code), The number of C functions that call Feval is rather large, and include redisplay. So this is not quite as easy as it might seem. Redisplay could set a flag to prevent thread-switching. That would remove one large piece of the problem. How big the problem remains after that, I am not sure.