Dispatcher.Invoke from a new thread is locking my UI
问题 i'm using wpf, there's a button on my ui. when the user clicks it, i have a for loop that runs a new method, on a new thread using autoresetevent. in that method on that new thread, i'm using a label, let's call it lblStatus. i want to update that label on this thread that's not on the ui. using wpf, i have to use Dispatcher.Invoke. here's a sample of my code: Thread thread= new Thread(StartLooking); thread.Start(); _waitHandle.WaitOne(); private void StartLooking(object value) { if