hahacjh
既然选择了远方 便只顾风雨兼程
摘要: 在同一时间CPU只能执行一个线程所以只有当本线程挂起或结束时才会执行其他线程代码如果把Thread.Sleep(100);放在1位置则先输出结果为"Method1 is the starting point of excution of the thread"如果把Thread.Sleep(100);放在2位置则先输出结果为"The excution of Sample Thread has st... 阅读全文
posted @ 2010-03-30 11:52 hahacjh 阅读(1818) 评论(0) 推荐(0) 编辑