作者热门文章
- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
UI 线程和 Dispatcher 线程在 WPF 中是一样的还是有什么区别?
最佳答案
A Dispatcher负责管理线程的工作。
UI线程是渲染UI的线程。
The UI thread queues work items inside an object called a Dispatcher. The Dispatcher selects work items on a priority basis and runs each one to completion. Every UI thread must have at least one Dispatcher, and each Dispatcher can execute work items in exactly one thread.
From this article. Read it for a more thorough description of the UI Rendering in WPF
关于c# - Dispatcher线程和UI线程有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16494213/
我是一名优秀的程序员,十分优秀!