static void Main(string[] args) { // start the http listener on a different thread CCprog cc = new CCprog(); Thread t = new Thread(cc.run); t.Start(); System.Threading.Thread.Sleep(1000); // start our console on this thread CCterm cct = new CCterm(cc); cct.run(); }
public CCterm(CCprog program) { this.program = program; crtSlave = null; }