예제 #1
0
        public static ThreadPair SpawnThread(ARKUpdater p, AutoResetEvent r)
        {
            var thisThread = new SteamKit(p, r);
            Thread tThread = new Thread( () => thisThread.RunThread() )
            {
                IsBackground = true
            };

            tThread.Start();
            return new ThreadPair(tThread, thisThread);
        }
예제 #2
0
 public ThreadPair(Thread t, SteamKit c)
 {
     tThread = t;
     tClass = c;
 }