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