System.Net.NclUtilities.IsThreadPoolLow C# (CSharp) Метод

IsThreadPoolLow() статический приватный Метод

static private IsThreadPoolLow ( ) : bool
Результат bool
        internal static bool IsThreadPoolLow()
        {

            int workerThreads, completionPortThreads;
            ThreadPool.GetAvailableThreads(out workerThreads, out completionPortThreads);

            return workerThreads < 2 || completionPortThreads < 2;
        }