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); }
public ThreadPair(Thread t, SteamKit c) { tThread = t; tClass = c; }