From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Are there plans for a multi-threaded Emacs? Date: Sun, 07 Dec 2003 14:53:14 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87he0cllwl.fsf@emptyhost.emptydomain.de> References: <87oevbes4h.fsf@emacswiki.org> <20031117040607.C6C5D79B72@server2.messagingengine.com> <877k19slxn.fsf@emptyhost.emptydomain.de> <5bsmjxtg7m.fsf@lister.roxen.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070809886 20506 80.91.224.253 (7 Dec 2003 15:11:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 15:11:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 16:11:23 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT0Z9-0007SM-00 for ; Sun, 07 Dec 2003 16:11:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT0Z9-0004CR-00 for ; Sun, 07 Dec 2003 16:11:23 +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 1AT1WS-0005te-3c for emacs-devel@quimby.gnus.org; Sun, 07 Dec 2003 11:12:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AT1WE-0005tX-GP for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:12:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AT1Vi-0005lN-TH for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:12:25 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AT1Vi-0005lG-IU for emacs-devel@gnu.org; Sun, 07 Dec 2003 11:11:54 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AT0YG-0000km-00 for ; Sun, 07 Dec 2003 16:10:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AT0Hh-0000bL-00 for ; Sun, 07 Dec 2003 15:53:21 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AT0Hh-0004t7-00 for ; Sun, 07 Dec 2003 15:53:21 +0100 Original-Lines: 22 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:fLrYQoQu0X5gEi80kozXCb/IME4= 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:18502 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18502 Martin Stjernholm writes: > Kai Grossjohann wrote: > >> Somebody suggested to avoid this by putting big locks around >> everything and then to relax them. > > That was me, I guess. Yes. Sorry for forgetting your name, and I couldn't find the right post in this huge thread. >> I made the suggestion to "just" let the implementor of the new thread >> code worry about such things: if you start a new thread then you're >> responsible for letting it run code that doesn't access globals in >> problematic ways. > > Would a thread like that would be used from the elisp level? That was my idea. Kai