Max worker/IO threads in a ThreadPool : ThreadPool : Thread C# Examples


C# Examples » Thread » ThreadPool »

 

Max worker/IO threads in a ThreadPool









    
using  System;
using  System.Collections.Generic;
using  System.Diagnostics;
using  System.IO;
using  System.Reflection;
using  System.Runtime;
using  System.Runtime.CompilerServices;
using  System.Security;
using  System.Text;

public  class  MainClass
{
        public  static  void  Main()
        {
                int  maxW,  maxIO;
                ThreadPool.GetMaxThreads(out  maxW,  out  maxIO);
                Console.WriteLine(maxW);
                Console.WriteLine(maxIO);
        }

}
    
   
  
   



Output

25
1000


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Thread
» ThreadPool