From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Martin Stjernholm Newsgroups: gmane.emacs.devel Subject: Re: Are there plans for a multi-threaded Emacs? Date: Sun, 07 Dec 2003 05:16:45 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5bsmjxtg7m.fsf@lister.roxen.com> References: <87oevbes4h.fsf@emacswiki.org> <20031117040607.C6C5D79B72@server2.messagingengine.com> <877k19slxn.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070770757 31425 80.91.224.253 (7 Dec 2003 04:19:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2003 04:19:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Dec 07 05:19:14 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 1ASqO2-0000o1-00 for ; Sun, 07 Dec 2003 05:19:14 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ASqO2-00082e-00 for ; Sun, 07 Dec 2003 05:19:14 +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 1ASrKD-0006Y9-PC for emacs-devel@quimby.gnus.org; Sun, 07 Dec 2003 00:19:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ASrJp-0006Vo-MO for emacs-devel@gnu.org; Sun, 07 Dec 2003 00:18:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ASrJI-0005kH-08 for emacs-devel@gnu.org; Sun, 07 Dec 2003 00:18:55 -0500 Original-Received: from [194.52.182.190] (helo=mail.roxen.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ASrJD-0005h3-OU for emacs-devel@gnu.org; Sun, 07 Dec 2003 00:18:19 -0500 Original-Received: by mail.roxen.com (Postfix, from userid 52) id 212D79A75; Sun, 7 Dec 2003 05:16:49 +0100 (MET) Original-Received: from lister.roxen.com (lister.roxen.com [194.52.182.147]) by mail.roxen.com (Postfix) with ESMTP id CC3D39A52; Sun, 7 Dec 2003 05:16:44 +0100 (MET) Original-Received: from mast by lister.roxen.com with local (Exim 3.36 #1 (Debian)) id 1ASqLd-0003aQ-00; Sun, 07 Dec 2003 05:16:45 +0100 Original-To: Kai Grossjohann In-Reply-To: <877k19slxn.fsf@emptyhost.emptydomain.de> (Kai Grossjohann's message of "Sat, 06 Dec 2003 20:58:28 +0000") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/20.7 (gnu/linux) 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:18492 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18492 Kai Grossjohann wrote: > Somebody suggested to avoid this by putting big locks around > everything and then to relax them. That was me, I guess. > 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?