This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pipe performance problem


On Thu, Nov 28, 2002 at 01:20:46AM +0100, thomas wrote:
>Christopher Faylor <cgf-noreply@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]