Parallel C # number of cores used

Is it possible to determine the number of maximum cores used in Parallel.For?

+3
source share
1 answer

If you want to limit CPU usage in parallel programming, ParallelOptions.MaxDegreeOfParallelism is a good idea.

+3
source

Source: https://habr.com/ru/post/1779898/


All Articles