You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some apps assume they only ever have one instance of themselves running on a given system.
It might make sense to provide this functionality under the std.process namespace if the interface can be cleanly mapped to platform-specific equivalents.
Windows provides CreateMutex for a global lock that can be checked against, proof of concept:
The text was updated successfully, but these errors were encountered:
expikr
changed the title
std: utility to check single instance process
std: function to check for and guarantee only one running instance of the program
Jun 14, 2024
expikr
changed the title
std: function to check for and guarantee only one running instance of the program
std.process: add function to enforce single-instance
Jun 17, 2024
Some apps assume they only ever have one instance of themselves running on a given system.
It might make sense to provide this functionality under the
std.process
namespace if the interface can be cleanly mapped to platform-specific equivalents.Windows provides CreateMutex for a global lock that can be checked against, proof of concept:
The text was updated successfully, but these errors were encountered: