c# - File.Open Cross Thread Writing -


is safe open file , write stream across multiple threads? if no implement make safe?

no, standard filestream not thread-safe.

you should use var safe = stream.synchronized(file.open(...)); create thread-safe wrapper.

stream.synchronized() on msdn


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -