예제 #1
0
파일: Program.cs 프로젝트: sybilr/MultiNode
        static void Main(string[] args)
        {
            GridTaskBrokerTests test = new GridTaskBrokerTests();
            test.FixtureSetUp();

            // Start the host on a separate thread
            Thread t = new Thread(RunTheHost) { Name = "HostThread" };
            t.Start();

            test.Client_ExecuteTask_Test();

            HostRunning.Set();
            test.FixtureTearDown();
        }
예제 #2
0
파일: Program.cs 프로젝트: sybilr/MultiNode
 public static void RunTheHost()
 {
     GridTaskBrokerTests t2 = new GridTaskBrokerTests();
     t2.Host_Init_Test();
     HostRunning.WaitOne();
 }