背景工人的替代品 [英] Alternative for Background Worker
本文介绍了背景工人的替代品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请告诉我,C#.net中Backgroundworker的替代组件模型.
感谢进阶.
问候,
Lakshmi Narayanan.S
Hi,
Please tell me ,Alternative Component model for Backgroundworker in C#.net.
Thanks in Advanced.
Regards,
Lakshmi Narayanan.S
推荐答案
您可以简单地使用线程来代替.看看这篇文章:
.NET入门线程指南:n的第1部分 [
You could simply use threads instead. Have a look at this article:
Beginners Guide to Threading in .NET: Part 1 of n[^]
Good luck!
Threadpool
或System.Threading
应该是你所追求的!
—MRB
Threadpool
orSystem.Threading
should be what you are after!
—MRB
如果您使用的是.net 4.0,那么我宁愿使用新的Parallel框架
萨莎·巴伯(Sacha Barber)就该主题写了一系列非常好的文章,这是第一篇:
任务并行库:n之1 [
If you''re using .net 4.0 then I would prefer to use of the new Parallel framework
Sacha Barber has written a series of very good articles on the subject here is the first one:
Task Parallel Library: 1 of n[^]
这篇关于背景工人的替代品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文