Esempio n. 1
0
 public static int Main()
 {
     // Abandon this mutex
     Mutex[] mArr = new Mutex[64];
     for(int i=0;i<mArr.Length;i++)
         mArr[i] = new Mutex(false);
     
     ThreadStartArray tsa = new ThreadStartArray();
     return tsa.Run(mArr);
 }
Esempio n. 2
0
    public static int Main()
    {
        // Abandon this mutex
        Mutex[] mArr = new Mutex[64];
        for (int i = 0; i < mArr.Length; i++)
        {
            mArr[i] = new Mutex(false);
        }

        ThreadStartArray tsa = new ThreadStartArray();

        return(tsa.Run(mArr));
    }