如果你做的CPU为基础的业务,那么我建议你任务并行库。
If you're doing CPU-based operations, then I'd recommend the Task Parallel Library.
任务并行库,又被称为TPL,本质上是一个高级版本的。NET线程池。
The Task Parallel Library, or TPL, is essentially an advanced version of the.net thread pool.
就像面向任务并行库的代码一样,PLINQ查询会根据主计算机的能力按比例调整并发程度。
Just like code that targets the Task Parallel Library, PLINQ queries scale in the degree of concurrency based on the capabilities of the host computer.
就像面向任务并行库的代码一样,PLINQ查询会根据主计算机的能力按比例调整并发程度。
Just like code that targets the Task Parallel Library, PLINQ queries scale in the degree of concurrency based on the capabilities of the host computer.
应用推荐