示例#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;
 }