public ThreadPoolManager(int poolSize) { autoResetEvent = new AutoResetEvent(false); avalaibleThreadCount = poolSize; }