示例#1
0
        public static void RunThreadUnsafeMethod()
        {
            Console.WriteLine();
            ColorConsole.WriteException("Running Thread UnSafe Method.", "UNSAFE METHOD");
            Thread th1 = new Thread(NoAutoLock.ThreadUnSafeMethod);
            Thread th2 = new Thread(NoAutoLock.ThreadUnSafeMethod);
            Thread th3 = new Thread(NoAutoLock.ThreadUnSafeMethod);

            th1.Start();
            th2.Start();
            th3.Start();
        }