GetProcessorCount() private méthode

private GetProcessorCount ( ) : int
Résultat int
Exemple #1
0
 public static bool SetMinThreads(int workerThreads, int completionPortThreads)
 {
     ThreadPoolGlobals.tpWarmupCount = Math.Max(ThreadPoolGlobals.GetProcessorCount() * 2, workerThreads);
     return(SetMinThreadsNative(workerThreads, completionPortThreads));
 }