Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 public CCterm(CCprog program)
 {
     this.program = program;
     crtSlave     = null;
 }