小编Cr4*_*ter的帖子

C# Core 2.1 使用 2 个 CPU

I'm Currently building an application which relies heavily on running multithreaded. I'm Currently spawning as many threads as the system has cores using the environment.ProcessorCount constant, but when I run the application on our server which has 2 separate CPUs (Intel Xeon E5-2620) all threads work on the first CPU while the second CPU idles. Is it possible to utilize the second CPU in one process or do I need to split the process and force the utilisation with Processor …

c# multithreading multiprocessing .net-core

0
推荐指数
1
解决办法
1386
查看次数

标签 统计

.net-core ×1

c# ×1

multiprocessing ×1

multithreading ×1