c# - 单声道任务并行库实现?

标签 c# mono task-parallel-library

Mono 是否实现了 Task Parallel 库?如果是这样,.NET 和单声道之间的性能比较如何。

最佳答案

这是在 Mono 2.6 版中实现的。

From the release notes:

ParallelFx

This release includes some components of the ParallelFx framework that were developed as part of Google Summer Of Code 2008 & 2009. More precisely, it contains the Task Parallel Library and Data Structures For Coordination.

Using ParallelFx, you can easily develop software that can automatically take advantage of the parallel potential of today multicore machines. For that purpose, several new constructs like futures, parallel loops or concurrent collections are now available.

To use this code you have to manually enable the .NET 4 profile using the --with-profile4=yes switch at configure stage.

关于c# - 单声道任务并行库实现?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5170846/

相关文章:

c# - 如何处理来自多个线程的单个结果?

c# - 用于累积 list<list<double>> 中的值的代码的并行版本

c# - 不使用 if 语句四舍五入一个数字

c# - 使用 int 变量作为数组选择器时出现 IndexOutOfRange 异常

c# - C# 中使用 Rijndael 解密

c# - 将任务标记为已完成

c# - 在 Ubuntu 上编译 mono-2.6(或更高版本)?

macos - 如何在 OSX 上将 T4 模板与 MonoDevelop 2.2 一起使用

c# - Unity 和 System.Drawing on OS X

c# - TPL 如何知道线程是否要求更多工作?