WriteFile() in printf() freezes
-
I am sorry for writing in English but for now my German is not so good.
I am writing to console from several threads using printf(). The process is synchronized and it works fine.
The problem is that sometimes some of threads freezes at WriteFile() function used to implement printf().
I use VStudio C++ 6.00
Can someone help me to figure out what's going on?
Thank you very much in advance!
-
Are you sure that printf() is synchronized? Maybe show us some code, it's hard to guess why a program freezes
Maybe WriteFile() or another function buffers the data...
BR SideWinder