From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Threads in emacs implementation Date: Fri, 17 Jun 2005 14:47:02 -0400 Message-ID: References: <6dbd4d0005060619227dd41364@mail.gmail.com> <87vf4oaft8.fsf@zemdatav.stor.no-ip.org> <4nd5quav0o.fsf@lifelogs.com> <4nll5btxv7.fsf@lifelogs.com> <4nvf4eqnec.fsf@lifelogs.com> <4nzmtpqdlp.fsf@lifelogs.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119035207 2061 80.91.229.2 (17 Jun 2005 19:06:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Jun 2005 19:06:47 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 17 21:06:43 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjMAG-00006s-54 for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 21:06:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjMFv-0005Bk-Cv for ged-emacs-devel@m.gmane.org; Fri, 17 Jun 2005 15:11:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DjMAt-0002he-4g for emacs-devel@gnu.org; Fri, 17 Jun 2005 15:06:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DjM9A-00029B-Tk for emacs-devel@gnu.org; Fri, 17 Jun 2005 15:05:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjM96-0001y6-DN for emacs-devel@gnu.org; Fri, 17 Jun 2005 15:04:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DjLuC-0001dq-DI for emacs-devel@gnu.org; Fri, 17 Jun 2005 14:49:28 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DjLrq-0006Dt-Qh; Fri, 17 Jun 2005 14:47:02 -0400 Original-To: Ted Zlatanov In-reply-to: <4nzmtpqdlp.fsf@lifelogs.com> (message from Ted Zlatanov on Fri, 17 Jun 2005 10:09:38 -0400) 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:39041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39041 I'm thinking of ways to avoid the stack penalties the other proposals involve. Could we allow only secondary threads with thread-local variables and forked copies of globals? "Forked copies of globals" would mean copies of the values of thousands of Lisp symbols. And how would the Lisp interpreter know whether and where to look for them? It does not seem practical.