English 中文(简体)
19 供世界森林应用的校对
原标题:19 Threads for WPF Application
  • 时间:2009-09-27 17:48:07
  •  标签:

我刚刚创建了一个新的世界森林基金应用程序,它有大约5个窗口,并利用了Xceed 数据。 在考察任务主管后,我发现这一小的申请有19条线索。

Can this be correct? I expected the WPF framework to use 2-3 threads, but not 19. Or am I doing anything wrong?

最佳回答

www.un.org/Depts/DGACM/index_spanish.htm 首先,是第19条。

“Hello, World> WPF, I see 10 threads in Task Manager. 在使用视力演播室挖尸首时,使用了19台。 因此,首先,将其中9项列为夸张的间接费用。

www.un.org/Depts/DGACM/index_spanish.htm 现改为10。

据MSDN杂志称 • 建立更反应性的申请,“发送者”

All WPF applications start out with two important threads, one for rendering and one for managing the user interface. The rendering thread is a hidden thread that runs in the background, so the only thread that you ordinarily deal with is the UI thread.

但是,根据,第条,在管理的所有器、计生联或非中有许多基本线:

There are different types of .NET threads: finalizer, GC, debugger, timer, threadpool, primary and background threads. But not all threads related to .NET are managed.

从WPF的2开始,在GC和定稿中加入到four。 de光添加(所有经管理的 app都有一个甚至没有脱硫的),以达到<>五>。 增加时间以至<>6。

而且,在我WPF在VS之外开台后,我会看到,在校友中有两条工人read子。 这可能是最低限度的。 直到<>为止。

我无法确切地说明两个问题,但是它们很可能是交际的孔径(这无疑是没有经过管理)。 我提到了其中更多的内容。

但是,这里的故事的真正道德并不是对他们表示担忧。 如果一个面包车“Hello, World>10,即你的基线。 http://www.ohchr.org。

问题回答

暂无回答




相关问题
热门标签