随笔分类 - System.Threading.Timer
计时器
摘要:转载自:http://hi.baidu.com/wingingbob/item/9f1c9615f3b24d5f2b3e225c基于多线程设计,计时器工作在ThreadPool线程上,存在事件的重入问题;MSDN只是说基于服务器的计时器可能比Windows计时器精确得多,具体是多少,与线程计时器的精...
阅读全文
摘要:转自:http://www.360doc.com/content/11/0812/11/1039473_139824496.shtml#System.Threading.Timer timer = null; //注意一定要在方法体外声明,要不然运行一会会被回收掉不再运行 timer=new ...
阅读全文

浙公网安备 33010602011771号