摘要:
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 ... 阅读全文