protected virtual ThreadPoolSynchronizer ProvideSynchronizer() { if (ThreadPoolHelper.HasSynchronizer(ServiceType) == false) { return(new ThreadPoolSynchronizer(PoolSize, PoolName)); } else { return(ThreadPoolHelper.GetSynchronizer(ServiceType)); } }
protected override ThreadPoolSynchronizer ProvideSynchronizer() { if (ThreadPoolHelper.HasSynchronizer(ServiceType) == false) { return(new PrioritySynchronizer(PoolSize, PoolName)); } else { return(ThreadPoolHelper.GetSynchronizer(ServiceType)); } }