Exemplo n.º 1
0
 private void UpdateQueueListThread()
 {
     Thread.CurrentThread.IsBackground = true;
     while (true)
     {
         this.queueListChangedEvent.WaitOne();
         DateTime now = DateTime.Now;
         if (this.lastQueueDraw.AddMilliseconds(200.0) < now && this.canInvoke)
         {
             DiagnosticUI.UQLDelegate method = new DiagnosticUI.UQLDelegate(this.updateQueueList);
             base.BeginInvoke(method);
             this.lastQueueDraw = now;
         }
     }
 }
Exemplo n.º 2
0
		private void UpdateQueueListThread()
		{
			Thread.CurrentThread.IsBackground = true;
			while (true)
			{
				this.queueListChangedEvent.WaitOne();
				DateTime now = DateTime.Now;
				if (this.lastQueueDraw.AddMilliseconds(200.0) < now && this.canInvoke)
				{
					DiagnosticUI.UQLDelegate method = new DiagnosticUI.UQLDelegate(this.updateQueueList);
					base.BeginInvoke(method);
					this.lastQueueDraw = now;
				}
			}
		}