摘要: 1 namespace threadpool 2 { 3 class Program 4 { 5 static void Main(string[] args) 6 { 7 WaitCallback w = new WaitCallback(Calculate); 8 ThreadPool.QueueUserWorkItem(w, 1.0);//插入以后自动执行 9 ThreadPool.QueueUserWorkItem(w, 2.0);10 11 ... 阅读全文
posted @ 2012-04-19 22:41 HighFUN 阅读(357) 评论(0) 推荐(0) 编辑