From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 03/10] introduce systhread layer Date: Mon, 13 Aug 2012 08:22:48 -0600 Message-ID: <87pq6u7txj.fsf@fleche.redhat.com> References: <87mx23etza.fsf@fleche.redhat.com> <50246659.80200@dancol.org> <9C928EA6-6467-422C-842B-9EA7E37C2A91@raeburn.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1344867778 9494 80.91.229.3 (13 Aug 2012 14:22:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2012 14:22:58 +0000 (UTC) Cc: Daniel Colascione , Emacs discussions To: Ken Raeburn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 16:22:56 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T0vXj-0004S1-NJ for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2012 16:22:55 +0200 Original-Received: from localhost ([::1]:48525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0vXi-00068G-JE for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2012 10:22:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0vXh-00068B-1b for emacs-devel@gnu.org; Mon, 13 Aug 2012 10:22:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0vXf-0007zT-T9 for emacs-devel@gnu.org; Mon, 13 Aug 2012 10:22:52 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:50497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0vXf-0007zN-LC for emacs-devel@gnu.org; Mon, 13 Aug 2012 10:22:51 -0400 Original-Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7DEMnX5031016 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Aug 2012 10:22:50 -0400 Original-Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q7DEMmrm006220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 13 Aug 2012 10:22:49 -0400 X-Attribution: Tom In-Reply-To: <9C928EA6-6467-422C-842B-9EA7E37C2A91@raeburn.org> (Ken Raeburn's message of "Mon, 13 Aug 2012 06:21:24 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152484 Archived-At: >>>>> "Ken" =3D=3D Ken Raeburn writes: Ken> What benefit do you think providing this "no threads" port would have? Not having to port the thread code to every host platform right away. Ken> Where every I/O operation needs to be rewritten to call some helper Ken> function that do the thread switching? We're going to do this anyway; see the GC patch. Ken> I've worked on code where performance of the thread-switching support Ken> was a big deal. I don't see Emacs falling into that category, at Ken> least not any time soon. On the other hand, I do hope that people Ken> find more uses for thread support than occur to me right now, so=E2=80= =A6. My new plan is to get something working, then we can refine it. The critical thing is not to make choices that inhibit future performance. Tom