Without using a global mutex lock in an application, is there any safe way to ensure only one instance of an application is running on a system? I have found out that bugs and errors that occur during an applications lifetime in memory can lead to many problems within a system, especially if pared with a global mutex lock. Any suggestions would be much appreciated.
Thanks for reading.