From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Fix for slow process output processing (please test). Date: Mon, 05 Jan 2004 21:09:50 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2914-Mon05Jan2004210950+0200-eliz@elta.co.il> References: <87y8so7kjy.fsf@offby1.atm01.sea.blarg.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073330795 5288 80.91.224.253 (5 Jan 2004 19:26:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 19:26:35 +0000 (UTC) Cc: offby1@blarg.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jan 05 20:26:31 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdaMx-0006Vt-00 for ; Mon, 05 Jan 2004 20:26:31 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdaMx-00058i-00 for ; Mon, 05 Jan 2004 20:26:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Adb95-0002Wi-Ku for emacs-devel@quimby.gnus.org; Mon, 05 Jan 2004 15:16:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Adb7o-0002Km-2q for emacs-devel@gnu.org; Mon, 05 Jan 2004 15:14:56 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adb7A-00028B-H8 for emacs-devel@gnu.org; Mon, 05 Jan 2004 15:14:48 -0500 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Adb74-00026C-Gj; Mon, 05 Jan 2004 15:14:10 -0500 Original-Received: from zaretski ([80.230.142.253]) by aragorn.inter.net.il (Mirapoint Messaging Server MOS 3.3.8-GR) with ESMTP id CEP46200; Mon, 5 Jan 2004 21:12:31 +0200 (IST) Original-To: David Kastrup X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (message from David Kastrup on 05 Jan 2004 16:57:14 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19020 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19020 > From: David Kastrup > Date: 05 Jan 2004 16:57:14 +0100 > > > > I suppose that process-adaptive-read-buffering isn't really needed > > on Windows, > > Since Windows is slow, anyway? I think the reason is that Windows never feeds Emacs with such small chunks from a pipe. > I suppose the problem could be that the Windows equivalent of > "select" that Emacs uses does a busy wait without yielding the CPU. I think that's not true: it does yield the CPU. See w32proc.c:sys_select.