Jellyfish.Commands.TaskSchedulerFactory.CreateOrRetrieve C# (CSharp) Method

CreateOrRetrieve() static private method

static private CreateOrRetrieve ( int threadCount, string name ) : TaskScheduler
threadCount int
name string
return System.Threading.Tasks.TaskScheduler
        internal static TaskScheduler CreateOrRetrieve(int threadCount, string name)
        {
            return _instance._schedulers.GetOrAdd(name, (n) => new BulkheadTaskScheduler(threadCount, name));
        }
    }