Exemplo n.º 1
0
        static void Main(string[] args)
        {
            /*
            List<Thread> handles = new List<Thread>();

            for (int i = 0; i < 1024; ++i)
            {
                Thread tHandle = new Thread(new ThreadStart(ThreadFunc));
                handles.Add(tHandle);
            }

            foreach (var h in handles)
            {
                h.Start();
            }

            foreach (var h in handles)
            {
                h.Join();
            }
             * */


            for (int i = 0; i < 1; ++i)
            {
                var process = new RCProcess();
                process.StartProcess();
            }

            Process.GetCurrentProcess().WaitForExit();
        }