예제 #1
0
        static void Main(string[] args)
        {
            AsParallelAndSelect ap = new AsParallelAndSelect();
            //ap.Run();

            ForceParallel fpl = new ForceParallel();
            //fpl.Run();

            Spellchecker s = new Spellchecker();
            //s.Run();

            ParallelSpellchecker ps = new ParallelSpellchecker();
            //ps.Run();

            RandomMutiThread rmt = new RandomMutiThread();
            //rmt.Run();

            ParallelSpellcheckerUsingThreadLocal asu = new ParallelSpellcheckerUsingThreadLocal();
            //asu.Run();

            FunctionalPurity fp = new FunctionalPurity();
            //fp.Run();

            MergeOptions mo = new MergeOptions();
            //mo.Run();

            DegreeOfParallelism iof = new DegreeOfParallelism();
            //iof.Run();

            Cancellation cl = new Cancellation();
            //cl.Run();
            //cl.Run2();

            OptimizingPLINQ op = new OptimizingPLINQ();
            //op.Run();
            //op.Run2();

            HandleAggregateException hae = new HandleAggregateException();

            hae.Run();
            hae.Run2();

            MeasurePerformance mp = new MeasurePerformance();
            //mp.Run();

            DoNotUsePLINQ dnup = new DoNotUsePLINQ();
            //dnup.Run();
        }
예제 #2
0
파일: Program.cs 프로젝트: ddt626/PLINQDemo
        static void Main(string[] args)
        {
            AsParallelAndSelect ap = new AsParallelAndSelect();            
            //ap.Run();

            ForceParallel fpl = new ForceParallel();
            //fpl.Run();

            Spellchecker s = new Spellchecker();
            //s.Run();

            ParallelSpellchecker ps = new ParallelSpellchecker();
            //ps.Run();

            RandomMutiThread rmt = new RandomMutiThread();
            //rmt.Run();

            ParallelSpellcheckerUsingThreadLocal asu = new ParallelSpellcheckerUsingThreadLocal();
            //asu.Run();

            FunctionalPurity fp = new FunctionalPurity();
            //fp.Run();

            MergeOptions mo = new MergeOptions();
            //mo.Run();

            DegreeOfParallelism iof = new DegreeOfParallelism();
            //iof.Run();

            Cancellation cl = new Cancellation();
            //cl.Run();
            //cl.Run2();

            OptimizingPLINQ op = new OptimizingPLINQ();
            //op.Run();
            //op.Run2();

            HandleAggregateException hae = new HandleAggregateException();
            hae.Run();
            hae.Run2();

            MeasurePerformance mp = new MeasurePerformance();
            //mp.Run();

            DoNotUsePLINQ dnup = new DoNotUsePLINQ();
            //dnup.Run();
        }