摘要: using System;using System.Threading;namespace NET.MST.Seventh.ThreadDataSlot{ class MainClass { /// <summary> /// 测试数据插槽 /// </summary> static void Main() { Console.WriteLine("现在开始测试数据插槽"); //开辟五个线程来同时运行 //这里不适合用线程池, //因为线程池内的线程会被反复使用 //导致线程ID一致 for (int i = 0; i < 5; i++) { 阅读全文
posted @ 2011-06-06 21:18 brainmao 阅读(705) 评论(0) 推荐(0)