摘要: 1、利用线程池发起异步操作View Code 1usingSystem;2usingSystem.Threading;34namespaceAsynchronous5{6classProgram7{8staticvoidMain(string[]args)9{10Console.WriteLine("主线程:准备发起一系列异步操作...");11ThreadPool.QueueUserWorkItem(ComputeBoundOp,5);12ThreadPool.QueueUserWorkItem(ComputeBoundOp,7);13Console.WriteLine( 阅读全文
posted @ 2011-05-06 10:46 Code & Life 阅读(470) 评论(0) 推荐(0) 编辑