From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jhd Newsgroups: gmane.emacs.devel Subject: Re: Threads in emacs implementation Date: Wed, 8 Jun 2005 22:23:11 +0200 Message-ID: References: <6dbd4d0005060619227dd41364@mail.gmail.com> <87vf4oaft8.fsf@zemdatav.stor.no-ip.org> <87vf4oaao5.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118262355 24493 80.91.229.2 (8 Jun 2005 20:25:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 20:25:55 +0000 (UTC) Cc: Magnus Henoch , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 08 22:25:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dg75t-0000zJ-9L for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2005 22:24:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dg7Cf-0006br-Ou for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2005 16:31:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dg7CM-0006Zi-SJ for emacs-devel@gnu.org; Wed, 08 Jun 2005 16:30:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dg7CM-0006ZQ-Fr for emacs-devel@gnu.org; Wed, 08 Jun 2005 16:30:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dg7CM-0006ZA-92 for emacs-devel@gnu.org; Wed, 08 Jun 2005 16:30:50 -0400 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dg79E-0007z3-NJ for emacs-devel@gnu.org; Wed, 08 Jun 2005 16:27:37 -0400 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep02.bredband.com with ESMTP id <20050608202349.KHDT25621.mxfep02.bredband.com@coolsville.localdomain>; Wed, 8 Jun 2005 22:23:49 +0200 In-Reply-To: <87vf4oaao5.fsf@kanga.tapsellferrier.co.uk> Original-To: Nic Ferrier X-Mailer: Apple Mail (2.730) 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:38367 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38367 >> 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... >> > > I don't see why this subject keeps coming up. > > We don't need threads in elisp. Just more asynchronous network > implementations. > > Anyway, async code is so much more fun to write than threaded > code. Threads are for beginners. Async network code won't take advantage of multiple CPU:s. Threads do. Jan D.