Untergeordnete Seiten
  • ThreadPoolStartInfo

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.38
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download



This class holds the more advanced configuration properties of the ThreadPool implementation.

Constructors

  • ThreadPoolStartInfo() - Creates a default configuration
  • ThreadPoolStartInfo(string) - Creates a configuration with given name
  • ThreadPoolStartInfo(int) - Specifies the minimum amount of threads available in the ThreadPool
  • ThreadPoolStartInfo(int, int) - Specifies the minimum, maximum number of threads
  • ThreadPoolStartInfo(string, int, int) - Specifies the name, minimum, maximum amount of threads
  • ThreadPoolStartInfo(int, int, int) - specifies the mininum # of threads, maximum # of threads, thread idle timeout
  • ThreadPoolStartInfo(string, int, int, int) - Specifies the name, minimum #, maximum #, thread idle timeout
  • ThreadPoolStartInfo(int, int, int, bool) - Specifies the minimum #, maximum #, idle timeout, delayed pool initialisation
  • ThreadPoolStartInfo(string, int, int, int, bool) - Specifies the name, minimum #, maximum #, idle timeout, delayed pool initialisation

Public variables

  • string Name - The descriptive name of this threadpool. Defaults to "MediaPortal ThreadPool".
  • int MinimumThreads - Minimum number of threads in the pool. Defaults to 1 (required for interval based work!)
  • int MaximumThreads - Maximum number of threads in the pool. Defaults to 25.
  • int ThreadIdleTimeout - Timeout (in miliseconds) for idle threads. Defaults to 120 seconds. If thread count is above MinimumThreads, threads quit when being idle this long
  • bool DelayedInit - Indicates whether the pool waits with initialisation until the first work is being received (true) or whether to initialise the pool upon pool creation (false). Defaults to true.
  • ThreadPriority DefaultThreadPriority - Default thread priority for threads in the threadpool. Defaults to ThreadPriority.Normal.

   

 

This page has no comments.