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: Thu, 09 Jun 2005 10:40:38 -0400 Message-ID: References: <6dbd4d0005060619227dd41364@mail.gmail.com> <87vf4oaft8.fsf@zemdatav.stor.no-ip.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118330292 28752 80.91.229.2 (9 Jun 2005 15:18:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2005 15:18:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 17:18:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgOd5-0000xZ-Th for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 17:07:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgOk2-000649-0l for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 11:14:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DgOfM-0003Tc-EC for emacs-devel@gnu.org; Thu, 09 Jun 2005 11:09:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DgOYL-0001Pk-RG for emacs-devel@gnu.org; Thu, 09 Jun 2005 11:02:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgOYD-0001CF-HU for emacs-devel@gnu.org; Thu, 09 Jun 2005 11:02:33 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgODH-00022F-21 for emacs-devel@gnu.org; Thu, 09 Jun 2005 10:40:55 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DgOD0-0002Yv-KR; Thu, 09 Jun 2005 10:40:38 -0400 Original-To: Magnus Henoch In-reply-to: <87vf4oaft8.fsf@zemdatav.stor.no-ip.org> (message from Magnus Henoch on Wed, 08 Jun 2005 20:01:23 +0200) 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:38439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38439 The greatest obstacle to this seems to be shallow binding - you'd have to unwind one thread's stack and rewind another's when switching threads. Maybe there's an easier way that I don't see... That is how the Lisp Machine worked. It is not an unreasonable idea.