Exemplo n.º 1
0
 private void RunExportThread(Action threadOperation)
 {
     this.traceActivityID   = MrsTracer.ActivityID;
     this.configContexts    = SettingsContextBase.GetCurrentContexts();
     this.exportThread      = new Thread(new ParameterizedThreadStart(this.ExportThread));
     this.exportThread.Name = "DataExport Thread";
     this.exportThread.Start(threadOperation);
 }
        private void SpinUpTransmitterThread()
        {
            if (this.transmitThread != null)
            {
                return;
            }
            this.traceActivityID = MrsTracer.ActivityID;
            this.configContexts  = SettingsContextBase.GetCurrentContexts();
            Thread thread = new Thread(new ThreadStart(this.TransmitThread));

            thread.Name = "MRS transmitter thread";
            thread.Start();
            this.transmitThread = thread;
        }