Example #1
0
        public void proc8()
        {
            Load("xslt_mutith_boolean_expr_or.xsl", "xslt_mutith_boolean_expr_or.xml");

            CThreads rThreads = new CThreads(_output);

            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #2
0
        public void proc2()
        {
            Load("QFE505_multith_customer_repro_with_or_expr.xsl", "QFE505_multith_customer_repro_with_or_expr.xml");

            CThreads rThreads = new CThreads(_output);

            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #3
0
        public void proc12()
        {
            Load("xslt_mutith_variable_nodeset.xsl", "xslt_mutith_variable_nodeset.xml");

            CThreads rThreads = new CThreads(_output);

            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #4
0
        public void proc1()
        {
            Load("xslt_multithreading_test.xsl", "foo.xml");

            CThreads rThreads = new CThreads(_output);

            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #5
0
        public void proc2()
        {
            AppContext.SetSwitch("Switch.System.Xml.DontProhibitDefaultResolver", true);

            Load("QFE505_multith_customer_repro_with_or_expr.xsl", "QFE505_multith_customer_repro_with_or_expr.xml");

            CThreads rThreads = new CThreads(_output);

            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #6
0
        public void proc2()
        {
            CThreads rThreads = new CThreads(_output);

            for (int i = 0; i < 1000; i++)
            {
                rThreads.Add(new ThreadFunc(LoadAndTransformWithMethodInfo), i.ToString());
            }

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #7
0
        public void Variations(object param0, object param1)
        {
            string xslFile = (string)param0;
            string xmlFile = (string)param1;

            Load(xslFile, xmlFile);

            CThreads rThreads = new CThreads(_output);

            for (int i = 0; i < threadCount; i++)
            {
                rThreads.Add(new ThreadFunc(Transform), i + 1);
            }

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #8
0
        public void proc2()
        {
            Load("QFE505_multith_customer_repro_with_or_expr.xsl", "QFE505_multith_customer_repro_with_or_expr.xml");

            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
        public void proc1()
        {
            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(SharedArgList), new object[] { 1, "xsltarg_multithreading1.xsl", "foo.xml" });
            rThreads.Add(new ThreadFunc(SharedArgList), new object[] { 2, "xsltarg_multithreading2.xsl", "foo.xml" });
            rThreads.Add(new ThreadFunc(SharedArgList), new object[] { 3, "xsltarg_multithreading3.xsl", "foo.xml" });
            rThreads.Add(new ThreadFunc(SharedArgList), new object[] { 4, "xsltarg_multithreading4.xsl", "foo.xml" });
            rThreads.Add(new ThreadFunc(SharedArgList), new object[] { 5, "xsltarg_multithreading5.xsl", "foo.xml" });

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
        public void proc2()
        {
            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(GetExtnObject2), new Object[] { 1, "urn:my-obj1" });
            rThreads.Add(new ThreadFunc(GetExtnObject2), new Object[] { 2, "urn:my-obj2" });
            rThreads.Add(new ThreadFunc(GetExtnObject2), new Object[] { 3, "urn:my-obj3" });
            rThreads.Add(new ThreadFunc(GetExtnObject2), new Object[] { 4, "urn:my-obj4" });
            rThreads.Add(new ThreadFunc(GetExtnObject2), new Object[] { 5, "urn:my-obj5" });

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
        public void proc2()
        {
            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(GetParam2), new Object[] { 1, "myArg1" });
            rThreads.Add(new ThreadFunc(GetParam2), new Object[] { 2, "myArg2" });
            rThreads.Add(new ThreadFunc(GetParam2), new Object[] { 3, "myArg3" });
            rThreads.Add(new ThreadFunc(GetParam2), new Object[] { 4, "myArg4" });
            rThreads.Add(new ThreadFunc(GetParam2), new Object[] { 5, "myArg5" });

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #12
0
        public void Variations(object param0, object param1)
        {
            String xslFile = (String)param0;
            String xmlFile = (String)param1;

            Load(xslFile, xmlFile);

            CThreads rThreads = new CThreads(_output);

            for (int i = 0; i < threadCount; i++)
                rThreads.Add(new ThreadFunc(Transform), i + 1);

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #13
0
        public void proc2()
        {
            CThreads rThreads = new CThreads(_output);

            for (int i = 0; i < 1000; i++)
            {
                rThreads.Add(new ThreadFunc(LoadAndTransformWithMethodInfo), i.ToString());
            }

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #14
0
        public void proc1()
        {
            Load("xslt_multithreading_test.xsl", "foo.xml");

            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #15
0
        public void proc12()
        {
            Load("xslt_mutith_variable_nodeset.xsl", "xslt_mutith_variable_nodeset.xml");

            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #16
0
        public void proc8()
        {
            Load("xslt_mutith_boolean_expr_or.xsl", "xslt_mutith_boolean_expr_or.xml");

            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }
Example #17
0
        public void proc2()
        {
            AppContext.SetSwitch("Switch.System.Xml.DontProhibitDefaultResolver", true);

            Load("QFE505_multith_customer_repro_with_or_expr.xsl", "QFE505_multith_customer_repro_with_or_expr.xml");

            CThreads rThreads = new CThreads(_output);
            rThreads.Add(new ThreadFunc(Transform), "1");
            rThreads.Add(new ThreadFunc(Transform), "2");
            rThreads.Add(new ThreadFunc(Transform), "3");
            rThreads.Add(new ThreadFunc(Transform), "4");
            rThreads.Add(new ThreadFunc(Transform), "5");

            //Wait until they are complete
            rThreads.Start();
            rThreads.Wait();

            return;
        }