From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giuseppe Scrivano Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Mon, 01 Dec 2008 00:30:20 +0100 Message-ID: <8763m47pwz.fsf@master.homenet> References: <87abbiody1.fsf@master.homenet> <873ahant5l.fsf@master.homenet> <87bpvx5tw1.fsf@master.homenet> <87oczw7sxj.fsf@master.homenet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228087847 3590 80.91.229.12 (30 Nov 2008 23:30:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 23:30:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 01 00:31:49 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6vlT-0007q0-GA for ged-emacs-devel@m.gmane.org; Mon, 01 Dec 2008 00:31:47 +0100 Original-Received: from localhost ([127.0.0.1]:60830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6vkJ-0001C8-C5 for ged-emacs-devel@m.gmane.org; Sun, 30 Nov 2008 18:30:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6vkE-0001BJ-OM for emacs-devel@gnu.org; Sun, 30 Nov 2008 18:30:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6vkE-0001B2-64 for emacs-devel@gnu.org; Sun, 30 Nov 2008 18:30:30 -0500 Original-Received: from [199.232.76.173] (port=39231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6vkE-0001Av-0i for emacs-devel@gnu.org; Sun, 30 Nov 2008 18:30:30 -0500 Original-Received: from averell.mail.tiscali.it ([213.205.33.55]:46410) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6vkD-00089o-Nc for emacs-devel@gnu.org; Sun, 30 Nov 2008 18:30:30 -0500 Original-Received: from master.homenet (84.222.170.194) by averell.mail.tiscali.it (8.0.022) id 48F7489F01FCFC25; Mon, 1 Dec 2008 00:30:27 +0100 Original-Received: from gscrivano by master.homenet with local (Exim 4.69) (envelope-from ) id 1L6vk5-0001AM-1B; Mon, 01 Dec 2008 00:30:21 +0100 In-Reply-To: (Stefan Monnier's message of "Sun, 30 Nov 2008 18:03:45 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106351 Archived-At: Stefan Monnier writes: >>> let-binding, of course. It's probably the only one that matters >>> (besides the internal ones like current_buffer). >> Isn't enough to have a separate `specpdl' for every thread? > > Not sure what you mean. My above text is talking about the provided > behavior, not about the implementation that provides it. > > > Stefan Sorry, I wasn't clear. If we will store thread local data only on `specpdl', and I think it is the proper way, thread local data will not be persistent among calls to `run-in-thread'. Giuseppe