This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: printf output missing in multi-threaded program
- From: Siegmar Gross <Siegmar dot Gross at informatik dot fh-fulda dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Sep 2004 11:11:48 +0200 (CEST)
- Subject: Re: printf output missing in multi-threaded program
- Reply-to: Siegmar Gross <Siegmar dot Gross at informatik dot fh-fulda dot de>
> That's what I get with a recent Cygwin snapshot:
>
> Thread thr_fork: forking a child process.
> Thread thr_wait: sleeping for 5 seconds.
> Thread thr_fork: sleeping for 10 seconds.
> Child process: I'm sleeping for 2 seconds.
> Thread thr_fork: 1 s of sleeping time passed
> Thread thr_fork: 2 s of sleeping time passed
> Child process: terminating.
> Thread thr_fork: 3 s of sleeping time passed
> Thread thr_fork: 4 s of sleeping time passed
> Thread thr_wait: try to wait for child process.
> Thread thr_wait: child terminated.
> Thread thr_fork: 5 s of sleeping time passed
> Thread thr_fork: 6 s of sleeping time passed
> Thread thr_fork: 7 s of sleeping time passed
> Thread thr_fork: 8 s of sleeping time passed
> Thread thr_fork: 9 s of sleeping time passed
> Thread thr_fork: 10 s of sleeping time passed
> Thread thr_fork: try to wait for my child.
> Thread thr_fork: No child processes
>
> Looks ok, doesn't it?
Yes. I have just updated Cygwin once more but it were only some X11
packages. I still don't get the last 8 lines. Do you have any idea
what could be wrong in my installation? Do you need any other
information to answer the question?
Kind regards
Siegmar
--
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/