title: C/C++ How to tell if a program is already running?
body: <p>In a Windows environment, I don't want two instances of my program running at the same time.</p>
  <blockquote>
  <h3>Related</h3>
  <p><a href="https://stackoverflow.com/questions/646480/is-using-a-mutex-to-prevent-multipule-instances-of-the-same-program-from-running">Is using a Mutex to prevent multiple instances of the same program from running safe?</a></p>
  </blockquote>