Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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/