摘要:
指在一线程里面调用另一线程join方法时,表示将本线程阻塞直至另一线程终止时再执行 比如1usingSystem;23namespaceTestThreadJoin4{5classProgram6{7staticvoidMain()8{9System.Threading.Threadx=newSystem.Threading.Thread(newSystem.Threading.ThreadStart(f1));10x.Start();11Console.WriteLine("ThisisMain.{0}",1);12x.Join();13Console.WriteLine 阅读全文
posted @ 2011-02-27 17:34
JunjieChang
阅读(3472)
评论(0)
推荐(0)