Silverlight 4 PLINQ

◇◆丶佛笑我妖孽 提交于 2019-12-07 03:37:18

问题


I have a very simple question. Is it possible to use PLINQ with Silverlight 4 since it seems that it doesn't exist in the most commonly referenced assemblies?


回答1:


It is not supported but you can vote for it here:

http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions/suggestions/310712-plinq-and-tpl?ref=title




回答2:


http://portabletpl.codeplex.com/

PortableTPL is a portable project inspired by the Task Parallel Library. It can be used with .Net 4.0, Silverlight 4.0, XNA 4.0 for XBox 360 and Silverlight for Windows Phone. PortableTPL supports following features:

  • Task
  • Task
  • Task Continuation
  • Task Cancelleation with CancellationTokenSource
  • AggregationException
  • Parallel.For
  • Parallel.ForEach
  • Schedulers



回答3:


Not at this time. Neither the Task parallel library or PLINQ have been implemented in Silverlight yet. At the rate the Silverlight team is cranking out releases though... who knows!



来源:https://stackoverflow.com/questions/2718347/silverlight-4-plinq

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!