Ejemplo n.º 1
0
        public static void RunUnfinishedThread()
        {
            if (gUnfinishedThread != null)
            {
                Trace.WriteLine("Unfinished thread is already running");
                return;
            }
            Trace.WriteLine("Run unfinished thread");
            Test_Thread obj = new Test_Thread();

            gUnfinishedThread = new Thread(new ThreadStart(obj.UnfinishedPump));
            gUnfinishedThread.Start();
        }
Ejemplo n.º 2
0
 public static void RunUnfinishedThread()
 {
     if (gUnfinishedThread != null)
     {
         Trace.WriteLine("Unfinished thread is already running");
         return;
     }
     Trace.WriteLine("Run unfinished thread");
     Test_Thread obj = new Test_Thread();
     gUnfinishedThread = new Thread(new ThreadStart(obj.UnfinishedPump));
     gUnfinishedThread.Start();
 }