public CurrentSynchronizationContextDispatcherConfigurator(Config config, IDispatcherPrerequisites prerequisites)
            : base(config, prerequisites)
        {

            _executorServiceConfigurator = new CurrentSynchronizationContextExecutorServiceFactory(config, prerequisites);
            // We don't bother trying to support any other type of exectuor here. PinnedDispatcher doesn't support them
        }
 public PinnedDispatcherConfigurator(Config config, IDispatcherPrerequisites prerequisites)
     : base(config, prerequisites)
 {
     
     _executorServiceConfigurator = new ForkJoinExecutorServiceFactory(ForkJoinExecutorServiceFactory.SingleThreadDefault.WithFallback("id=" + config.GetString("id")), Prerequisites);
     // We don't bother trying to support any other type of exectuor here. PinnedDispatcher doesn't support them
 }
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="config">TBD</param>
 /// <param name="prerequisites">TBD</param>
 public PinnedDispatcherConfigurator(Config config, IDispatcherPrerequisites prerequisites)
     : base(config, prerequisites)
 {
     _executorServiceConfigurator =
         new ForkJoinExecutorServiceFactory(
             ForkJoinExecutorServiceFactory.SingleThreadDefault.WithFallback("id=" + config.GetString("id", null)), Prerequisites);
     // We don't bother trying to support any other type of executor here. PinnedDispatcher doesn't support them
 }
Exemple #4
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="config">TBD</param>
 /// <param name="prerequisites">TBD</param>
 public CurrentSynchronizationContextDispatcherConfigurator(Config config, IDispatcherPrerequisites prerequisites)
     : base(config, prerequisites)
 {
     _executorServiceConfigurator = new CurrentSynchronizationContextExecutorServiceFactory(config, prerequisites);
     // We don't bother trying to support any other type of executor here. PinnedDispatcher doesn't support them
 }