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: Sat, 11 Jun 2005 08:18:19 -0400 Message-ID: References: <6dbd4d0005060619227dd41364@mail.gmail.com> <87vf4oaft8.fsf@zemdatav.stor.no-ip.org> <4nd5quav0o.fsf@lifelogs.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118492795 10347 80.91.229.2 (11 Jun 2005 12:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2005 12:26:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 11 14:26:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dh53w-0008Oc-21 for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2005 14:26:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dh58H-0006VQ-GQ for ged-emacs-devel@m.gmane.org; Sat, 11 Jun 2005 08:30:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dh56g-00066w-AG for emacs-devel@gnu.org; Sat, 11 Jun 2005 08:28:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dh56Y-00062B-84 for emacs-devel@gnu.org; Sat, 11 Jun 2005 08:28:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dh56W-0005xp-Vz for emacs-devel@gnu.org; Sat, 11 Jun 2005 08:28:49 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dh4xH-0007V0-Cb for emacs-devel@gnu.org; Sat, 11 Jun 2005 08:19:15 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Dh4wN-00078U-Iz; Sat, 11 Jun 2005 08:18:19 -0400 Original-To: Ted Zlatanov In-reply-to: <4nd5quav0o.fsf@lifelogs.com> (message from Ted Zlatanov on Fri, 10 Jun 2005 15:09:43 -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:38571 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38571 I think an alternate solution is to have no shared variables between threads once they are forked, and communicate through standard IPC (pipes, semaphores, etc.). This is not possible with shallow binding. All Lisp programs use the same set of symbols, and each symbol has a value. Many symbols' values have important standard meanings.