J
José Joye
I have 2 threads using the same StreamWriter (obtained from
FileInfo.AppendText).
This first thread will always use the WriteLine() method and the second
thread will always use the Flush() method.
At the present, I have protected the access to the StreamWriter using a
Lock() section.
Is this really particular case, is this necessary?
What could be the implication if I remove the Lock() section?
Thanks,
José
FileInfo.AppendText).
This first thread will always use the WriteLine() method and the second
thread will always use the Flush() method.
At the present, I have protected the access to the StreamWriter using a
Lock() section.
Is this really particular case, is this necessary?
What could be the implication if I remove the Lock() section?
Thanks,
José