delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/27/19:36:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 27 Nov 2002 19:34:43 -0500
From: Christopher Faylor <cgf-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pipe performance problem
Message-ID: <20021128003443.GD21457@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <777770015 DOT 20021122040845 AT huno DOT net> <007301c291ff$eb9ce050$78d96f83 AT pomello> <21545718 DOT 20021122114035 AT huno DOT net> <12415481703 DOT 20021122220059 AT huno DOT net> <20021122210856 DOT GA10679 AT redhat DOT com> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021122143402 DOT 00fdc148 AT pop3 DOT cris DOT com> <10824453046 DOT 20021123003030 AT huno DOT net> <14936170000 DOT 20021127223905 AT huno DOT net> <20021127233624 DOT GK17798 AT redhat DOT com> <1245871093 DOT 20021128012046 AT huno DOT net>
Mime-Version: 1.0
In-Reply-To: <1245871093.20021128012046@huno.net>
User-Agent: Mutt/1.5.1i

On Thu, Nov 28, 2002 at 01:20:46AM +0100, thomas wrote:
>Christopher Faylor <cgf-noreply AT cygwin DOT com> wrote:
>
>> If there is no data in a pipe it can wait for 10ms waiting for it, yes.
>> See ready_for_read/peek_pipe in select.cc.
>
>Yep i saw the Sleep (10) and though the same thing, but i figured that
>can't be it when i commented it out, compiled a new cygwin1.dll and the
>10ms delay was still there.

It's not a Sleep 10.  It's a WaitForSingleObject in ready_for_read.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019