public MutantWin32(string name) { bool f; mutex = new Mutex(false, Mutant.GenerateInternalName(name), out f); }
public MutantUnix(string name) { filename = Path.Combine(Env.UnixMutantDir, Mutant.GenerateInternalName(name) + ".lock"); IO.MakeDirIfNotExists(Env.UnixMutantDir); }