Ejemplo n.º 1
0
        public void Start()
        {
            this.workerThread = new WorkerThread();
            //this.workerThread.Start();

            this.controlThread = new ControlThread("worker", this.workerThread);
            this.controlThread.Start();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            LoggingExtensions.Logging.Log.InitializeWith <LoggingExtensions.log4net.Log4NetLog>();

            var main = new MainThread();
            //main.Start();

            ControlThread thread = new ControlThread("main", main);

            thread.Start();

            Console.ReadLine();
        }