Process lots of small tasks and keep the UI responsive
问题 I have a WPF application that needs to do some processing of many small tasks. These small tasks are all generated at the same time and added to the Dispatcher Queue with a priority of Normal. At the same time a busy indicator is being displayed. The result is that the busy indicator actually freezes despite the work being broken into tasks. I tried changing the priority of these tasks to be Background to see if that fixed it, but still the busy indicator froze. I subscribed to the Dispatcher