title: Concurrent File write between processes
body: <p>I need to write log data into a single file from different processes. </p>
  
  <p>I am using Windows Mutex which needs Common Language Runtime support for it. </p>
  
  <pre><code>Mutex^ m = gcnew Mutex( false,"MyMutex" );
  m-&gt;WaitOne();
  //... File Open and Write ..
  m-&gt;ReleaseMutex()
  </code></pre>
  
  <p>Do I really need to change from C++ to C++/CLI for synchronization?</p>
  
  <p>It is ok if the atomic is not used. But I need to know whether using this Mutex will slow down the performance compared to local mutex.</p>