Пример #1
0
        public MutantWin32(string name)
        {
            bool f;

            mutex = new Mutex(false, Mutant.GenerateInternalName(name), out f);
        }
Пример #2
0
 public MutantUnix(string name)
 {
     filename = Path.Combine(Env.UnixMutantDir, Mutant.GenerateInternalName(name) + ".lock");
     IO.MakeDirIfNotExists(Env.UnixMutantDir);
 }