public void Start() { this.workerThread = new WorkerThread(); //this.workerThread.Start(); this.controlThread = new ControlThread("worker", this.workerThread); this.controlThread.Start(); }
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(); }