Parallel.ForEach Ordered Execution

后端 未结 6 1759
猫巷女王i
猫巷女王i 2020-12-10 11:10

I am trying to execute parallel functions on a list of objects using the new C# 4.0 Parallel.ForEach function. This is a very long maintenance process. I would

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 12:07

    For anybody looking for a simple solution, I have posted 2 extension methods (one using PLINQ and one using Parallel.ForEach) as part of an answer to the following question:

    Ordered PLINQ ForAll

提交回复
热议问题