Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <02d901c0d622$0ebe2b70$0200a8c0@lifelesswks> From: "Robert Collins" To: "egor duda" Cc: References: <01fe01c0d5ec$a9cf09d0$0200a8c0 AT lifelesswks> <20010506013632 DOT A899 AT redhat DOT com> <022801c0d5ee$a62fd820$0200a8c0 AT lifelesswks> <027601c0d5fd$28b9a0b0$0200a8c0 AT lifelesswks> <124512247022 DOT 20010506154338 AT logos-m DOT ru> Subject: Re: system_printf Date: Sun, 6 May 2001 21:45:30 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 06 May 2001 11:39:52.0057 (UTC) FILETIME=[4377E690:01C0D621] ----- Original Message ----- From: "egor duda" To: "Robert Collins" Cc: Sent: Sunday, May 06, 2001 9:43 PM Subject: Re: system_printf > Hi! > > Sunday, 06 May, 2001 Robert Collins robert DOT collins AT itdomain DOT com DOT au wrote: > > RC> It's not consistent... it works sometimes and not others. I _suspect_ > RC> that the times it doesn't work its being called from the > RC> non-main-thread. > > >> I'll do a make clean and try again then. > >> > >> (It's not for me) > >> Rob > >> > >> > >I notice that system_printf no longer writes to the console. Is > >> > > there a replacement function that does? > >> > > >> > system_printf *does* write to the console. > > it prints to (GetStdHandle (STD_ERROR_HANDLE)) > > this may be console, and may be not (is stderr is redirected). > Thanks for looking... I ran into this minor problem while debugging the broadcast problem. I cannot explain _why_ its not always printing, just that it isn't. ( I had unconditional system_printfs as part of the test code). I'll see if I can work up a reproducible test case. Rob