delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/22/15:54:04

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
Message-ID: <3EF60947.AD6DB15A@dessent.net>
Date: Sun, 22 Jun 2003 12:53:43 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: stderr outputs veerrrryyy slowly
References: <3EF099C8 DOT 8FDEC855 AT dessent DOT net> <3EF09ED6 DOT F4943C46 AT dessent DOT net> <3EF0B792 DOT 40204 AT cygwin DOT com> <3EF0BFA2 DOT 99CCC92A AT dessent DOT net> <3EF26B27 DOT 1020203 AT cygwin DOT com> <20030620021155 DOT GA19483 AT redhat DOT com> <3EF553B3 DOT 68EAF8FA AT dessent DOT net> <20030622153512 DOT GB28328 AT redhat DOT com>

Christopher Faylor wrote:

> >Hmmm.  Well, I managed to come up with this minimal testcase:
> 
> There is no need for a test case.  I already mentioned that this is a
> known issue and pinpointed where the problem lies.

Fair enough.

> >Can anyone make heads (or tails) of this now?
> 
> Read my original message.  stderr does not buffer its output.  stdout does.

Okay, but I'm afraid that doesn't quite compute to me, maybe you could
clarify:

- If it's flushing on every character, then why is the output speed
acceptable when using fputs/fprintf or anything except fputc?  i.e. why
do I get the 300-baud-modem emulation only in a few cases?

- Why does it take so long (10ms) to flush the stream?  

- Why does it only happen with 'tty' set?

Sorry if I'm being dense.  I was also going to ask what the heck newlib
was but I figured that out on my own. :-)

Thanks,
Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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