TPL样库.NET 2.0 [英] TPL-like library for .NET 2.0

查看:242
本文介绍了TPL样库.NET 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发现的相似之处库在.NET 4.0中后,我想在我的.NET 2.0应用程序类似的东西。

After discovering the Parallels library in .NET 4.0, I'd like to have something similar in my .NET 2.0 application.

是否有任何并行编程辅助库为.NET 2.0,即简化常见任务?

Are there any parallel programming helper libraries for .NET 2.0, that simplify common tasks?

推荐答案

线程池 将提名.NET 2.0中这是一种类似与TPL。

Threadpool would be a nomination in .NET 2.0 which is kind of similar with TPL.

提供可用于执行任务,岗位工作项目线程池,处理异步I / O,等待代表其他线程和进程计时器。

Provides a pool of threads that can be used to execute tasks, post work items, process asynchronous I/O, wait on behalf of other threads, and process timers.

太平人寿 实际上使用线程池引擎盖下:

TPL处理的工作分配,线程的线程池调度,取消支持,状态管理,和其他低级别的细节。

TPL handles the partitioning of the work, the scheduling of threads on the ThreadPool, cancellation support, state management, and other low-level details.

这篇关于TPL样库.NET 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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