Example #1
0
 public static ExThread GetInstance()
 {
     if (instance == null)
     {
         instance = new ExThread();
     }
     return(instance);
 }
Example #2
0
        public void RunIntThread()
        {
            owner.Println("Cykl: Int");
            ExThread thEx = ExThread.GetInstance();

            thEx.SetOwner(owner);
            ThreadStart ts       = new ThreadStart(thEx.RunExThread);
            Thread      exThread = new Thread(ts);

            exThread.Start();
        }