02 2013 档案

摘要:等待多个子线程结束后再执行主线程class MultiThread { #region join test public void MultiThreadTest() { Thread[] ths = new Thread[2]; ths[0] = new Thread(Method1); ths[1] = new Thread(Method2); foreach (Thread item in ths) ... 阅读全文
posted @ 2013-02-27 15:04 randroid 阅读(4490) 评论(2) 推荐(2)