gpt4 book ai didi

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

转载 作者:太空狗 更新时间:2023-10-29 18:19:14 24 4
gpt4 key购买 nike

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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com