Just a quick question...
If I have a console app with multiple threads and more than one thread prints status information in a log style to the console output using printf would I need to enclose any printf statements within a critical section to avoid a mix of two messages being printed to the screen if two threads happened to printf at exactly the same time?
I haven't had it occur yet as I'm sure it would be quite a rare occurence but I was wondering, is it actually possible for that to happen?
I guess the same goes for outputing to a log file using the stdio functions.
tia
Daniel.