public void ConcurrentStrandSchedulerPairTestsTestInitialize() { m_concurrentStrandSchedulerPair = new ConcurrentStrandSchedulerPair(MAX_TASKS_CONCURRENCY); m_strandTaskFactory = new TaskFactory(m_concurrentStrandSchedulerPair.StrandScheduler); m_concurrentTaskFactory = new TaskFactory(m_concurrentStrandSchedulerPair.ConcurrentScheduler); }
public ConcurrentExclusiveSimpleIncrementTasks() { m_strandExclusiveSchedulerPair = new ConcurrentStrandSchedulerPair(Environment.ProcessorCount); m_concurrentExclusiveSchedulerPair = new ConcurrentExclusiveSchedulerPair(TaskScheduler.Default, Environment.ProcessorCount); }
public override void InitializeTest() { m_concurrentStrandSchedulerPair = new ConcurrentStrandSchedulerPair(MAX_TASKS_CONCURRENCY); m_concurrentScheduler = m_concurrentStrandSchedulerPair.AsioStrandcheduler; base.InitializeTest(); }