public SmartThreadPool(int idleTimeout) { this._stpStartInfo = new STPStartInfo { IdleTimeout = idleTimeout }; this.Initialize(); }
public STPStartInfo(STPStartInfo stpStartInfo) : base(stpStartInfo) { this._idleTimeout = stpStartInfo.IdleTimeout; this._minWorkerThreads = stpStartInfo.MinWorkerThreads; this._maxWorkerThreads = stpStartInfo.MaxWorkerThreads; this._threadPriority = stpStartInfo.ThreadPriority; this._performanceCounterInstanceName = stpStartInfo.PerformanceCounterInstanceName; this._enableLocalPerformanceCounters = stpStartInfo._enableLocalPerformanceCounters; }
public SmartThreadPool(int idleTimeout, int maxWorkerThreads) { this._stpStartInfo = new STPStartInfo { IdleTimeout = idleTimeout, MaxWorkerThreads = maxWorkerThreads }; this.Initialize(); }
public SmartThreadPool(STPStartInfo stpStartInfo) { this._stpStartInfo = new STPStartInfo(stpStartInfo); this.Initialize(); }