From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Jan_Dj=C3=A4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs on OS X development Date: Wed, 25 Jul 2012 09:43:22 +0200 Message-ID: References: <87r4s68rr4.fsf@lifelogs.com> <83A41E83-79C8-4490-966B-CD224041E840@gmail.com> <80ACEDD7-86B4-4E7D-85F2-4308AB34837B@swipnet.se> <88766C51-C0DC-4307-95A7-A3A9B53B9CAF@swipnet.se> <83txwxkuoh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343202221 24876 80.91.229.3 (25 Jul 2012 07:43:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2012 07:43:41 +0000 (UTC) Cc: "pmr@pajato.com" , "johnw@newartisans.com" , "monnier@IRO.UMontreal.CA" , "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 25 09:43:40 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 1StwFr-0003Ct-9A for ged-emacs-devel@m.gmane.org; Wed, 25 Jul 2012 09:43:35 +0200 Original-Received: from localhost ([::1]:50895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StwFq-0002Yn-LW for ged-emacs-devel@m.gmane.org; Wed, 25 Jul 2012 03:43:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StwFk-0002Ya-HL for emacs-devel@gnu.org; Wed, 25 Jul 2012 03:43:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StwFi-0007ct-Pt for emacs-devel@gnu.org; Wed, 25 Jul 2012 03:43:28 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:42608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StwFi-0007ce-Iy for emacs-devel@gnu.org; Wed, 25 Jul 2012 03:43:26 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id E8FE79EEC for ; Wed, 25 Jul 2012 09:43:25 +0200 (CEST) Original-Received: (qmail 27069 invoked by uid 89); 25 Jul 2012 07:43:17 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 25 Jul 2012 07:43:17 -0000 Original-Received: from [172.16.2.211] (gw01.ismobile.com [212.73.186.202]) by coolsville.localdomain (Postfix) with ESMTPSA id 562347FA06C; Wed, 25 Jul 2012 09:43:25 +0200 (CEST) In-Reply-To: <83txwxkuoh.fsf@gnu.org> X-Mailer: iPhone Mail (9B206) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 62.20.26.67 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:151875 Archived-At: Hello.=20 24 jul 2012 kl. 18:09 skrev Eli Zaretskii : >> From: Jan Dj=C3=A4rv >> Date: Tue, 24 Jul 2012 08:25:41 +0200 >> Cc: Paul Michael Reilly , >> "emacs-devel@gnu.org" , >> John Wiegley >>=20 >> The basic concept is to have one thread for file descriptors and let the m= ain thread deal with Cocoa events. The code today does something similar, b= ut it relies on polling each 0.1 second. >=20 > Once in 100 msec is an awfully low frequency. What happens if the > period is decreased to 10 or even 5 msec? It does not make much difference. The overhead of other stuff (enter and exi= t the loop) takes over.=20 Jan D.=20