.net中实现多线程的不同方式是什么? [英] What are the different ways of implementing multithreading in .net
问题描述
我一直在与多线程作战.
I have been fighting with multi threading for few days.
我不了解multithreading
的不同方式.我已经读了一些有关backgroundWorker
的知识,也有些关于创建线程对象的知识.
昨天我在delegate
示例中看到了通过调用BeginInvoke
来实现多线程的方法.
I dont understand what are different ways of multithreading
. I have read little bit about backgroundWorker
, little bit about creating an object of thread.
Yesterday I saw in delegate
example to implement multithreading by calling BeginInvoke
.
我不明白是multithreading
的这些不同方式还是在相同的背景类上进行相同的工作.
请帮助我向我说明.
I dont understand are these different ways of multithreading
or are same working on same background class.
Please help me in making it clear to me.
推荐答案
我喜欢这个解释非常.也许他们也可以帮助您.
然后,还有乔恩·斯凯特(Jon Skeet)的这篇文章.
I like this explanations very much. Maybe they help you, too.
And then, there is this article by Jon Skeet, too.
这篇关于.net中实现多线程的不同方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!