C# 클래스 Amib.Threading.SmartThreadPool

Smart thread pool class.
상속: IWorkItemsGroup, IDisposable
파일 보기 프로젝트 열기: amibar/SmartThreadPool 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultMaxQueueLength int?
DefaultMaxStackSize int?
DefaultPerformanceCounterInstanceName string
DefaultPostExecuteWorkItemCallback PostExecuteWorkItemCallback

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
SmartThreadPool ( ) : System

Constructor

SmartThreadPool ( STPStartInfo stpStartInfo ) : System

Constructor

SmartThreadPool ( bool startSuspended ) : System

Constructor

SmartThreadPool ( int idleTimeout ) : System

Constructor

SmartThreadPool ( int idleTimeout, int maxWorkerThreads ) : System

Constructor

SmartThreadPool ( int idleTimeout, int maxWorkerThreads, int minWorkerThreads ) : System

Constructor

메소드 상세

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( ) : System
리턴 System

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( STPStartInfo stpStartInfo ) : System
stpStartInfo STPStartInfo A SmartThreadPool configuration that overrides the default behavior
리턴 System

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( bool startSuspended ) : System
startSuspended bool Set it to True to start thread pool in suspended mode; Explicit call to Start() will be needed to start the Thread pool.
리턴 System

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( int idleTimeout ) : System
idleTimeout int Idle timeout in milliseconds
리턴 System

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( int idleTimeout, int maxWorkerThreads ) : System
idleTimeout int Idle timeout in milliseconds
maxWorkerThreads int Upper limit of threads in the pool
리턴 System

SmartThreadPool() 공개 메소드

Constructor
public SmartThreadPool ( int idleTimeout, int maxWorkerThreads, int minWorkerThreads ) : System
idleTimeout int Idle timeout in milliseconds
maxWorkerThreads int Upper limit of threads in the pool
minWorkerThreads int Lower limit of threads in the pool
리턴 System

프로퍼티 상세

DefaultMaxQueueLength 공개적으로 정적으로 프로퍼티

The default Max Queue Length (null).
public static int? DefaultMaxQueueLength
리턴 int?

DefaultMaxStackSize 공개적으로 정적으로 프로퍼티

The default Max Stack Size. (null)
public static int? DefaultMaxStackSize
리턴 int?

DefaultPerformanceCounterInstanceName 공개적으로 정적으로 프로퍼티

The default name to use for the performance counters instance. (null)
public static string DefaultPerformanceCounterInstanceName
리턴 string

DefaultPostExecuteWorkItemCallback 공개적으로 정적으로 프로퍼티

The default post execute method to run. (None) When null it means not to call it.
public static PostExecuteWorkItemCallback DefaultPostExecuteWorkItemCallback
리턴 PostExecuteWorkItemCallback