摘要:
ThreadPool使用需要定义waitcallback委托形式如public delegate void WaitCallback(object state);例如如下例子: static private void ThreadWorker(object state) { int num = (int)state; if (num > 0) { for (int i = 0; i < 3; i++) { ... 阅读全文
posted @ 2012-12-26 23:36 Roger Luo 阅读(493) 评论(0) 推荐(0) 编辑