Is there a better approach for dealing with mulitple processes reading/writing to a file
<p>I have 3 processes each of which listens to a data feed. All the 3 processes need to read and update the same file after receiving data. The 3 processes keep running whole day. Obviously, each process needs to have exclusive read/write lock on the file.</p>

<p>I could use "named mutex" to protect the read/write of the file or I can open the file using FileShare.None. </p>

<p>Would these 2 approaches work? Which one is better?</p>

<p>The programe is written in C# and runs on Windows.</p>
