A simple way to run only one process per application in C++ Apr 10, 2019

Some times it might be necessary to limit the number of processes running at the same time for a certain application. There might be several reasons for this, to prevent data corruption for example. This is a simple cross-platform way to do it.

...