Silverlight 4 PLINQ

2019-04-27 23:04发布

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?

3条回答
祖国的老花朵
2楼-- · 2019-04-27 23:33

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!

查看更多
男人必须洒脱
4楼-- · 2019-04-27 23:37

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
查看更多
登录 后发表回答