This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]