This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.7: stdio functions block each other in a multithreaded program
- From: cornwarecjp at lavabit dot com
- To: cygwin at cygwin dot com
- Date: Wed, 26 Jan 2011 21:46:07 +0100 (CET)
- Subject: Re: 1.7.7: stdio functions block each other in a multithreaded program
> [...]
> 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, thanks for testcase. It's highly appreciated.
Nice to hear you appreciate it.
I can confirm that using the low-level IO function 'read' instead of the
scanf
function avoids the issue. For now, I will use this approach.
So for me the issue is solved. Thanks, and good luck finding a solution for
version 1.7.8.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple