.net中实现多线程的不同方式是什么? [英] What are the different ways of implementing multithreading in .net

查看:123
本文介绍了.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆