Hi Guys,

I have a multi-threaded application that does a lot of tracing in the
console window. Do I have to worry about synchronizing the access to the
Console.WriteLine method or this is taken care by the framework? I don't
think calls to the WriteLine method are atomic.

So far I didn't encounter a case where lines would be mixed, but one never
knows. I tried to search in the MSDN documentation whether this might be a
problem but couldn't find any reference to it.

Does anybody here has had problems where lines displayed from two or more
threads would be mixed together on the console window?

Thanks,
Eddie L

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to