Example #1
0
        /*
         * public void Run()
         * {
         *  Start();
         *  WaitAll();
         *  Verify();
         * }
         * */


        public void Start()
        {
            for (int nt = 0; nt < nthreads; nt++)
            {
                SlaveThread st = new SlaveThread();
                st.parent    = this;
                st.threadnum = nt;
                st.start();
                sthreads.Add(st);
            }
        }