How to ensure that only one instance of a concurrent program runs at a time? Questions Master 10 years ago