Re: 1.7.7: stdio functions block each other in a multithreaded program

2011-02-01 Thread cornwarecjp
> After some discussion with my newlib co-maintainer I checked in a patch > which should solve your problem. Your testcase works fine for me now > when using the latest developer snapshot(*) from today. > Please give it a test in your environment. I did not want to mess with my Cygwin installati

Re: 1.7.7: stdio functions block each other in a multithreaded program

2011-01-28 Thread Corinna Vinschen
On Jan 26 11:23, Corinna Vinschen wrote: > On Jan 25 14:31, cornware...@lavabit.com wrote: > > I am trying to make a multi-threaded application, where one thread reads > > commands from stdin, and another thread is doing other things, such as > > reading files and printing messages to stdout. > >

Re: 1.7.7: stdio functions block each other in a multithreaded program

2011-01-26 Thread cornwarecjp
> [...] > What you can do for the time being is to use the low-level IO functions > read and write, rather than the stdio functions fgetc and putchar, since > only the stdio functions are affected by this. > I hope to find a solution soon and the bugfix will definitely be in 1.7.8. > Again, thank

Re: 1.7.7: stdio functions block each other in a multithreaded program

2011-01-26 Thread Corinna Vinschen
On Jan 25 14:31, cornware...@lavabit.com wrote: > I am trying to make a multi-threaded application, where one thread reads > commands from stdin, and another thread is doing other things, such as > reading files and printing messages to stdout. > > The problem I have is that the thread that reads