我爱我老婆
摘要: 在windows services开发中,碰到一个奇怪的问题:有时可以启动,有时启动超时,经过漫长的分析(有引用其它的组件),发现问题出在Performance counter的创建上,sometimes, the code will be hang here.Link:http://www.pcreview.co.uk/forums/strange-performance-counter-performance-problem-windows-service-application-t2781664.html解决方法:将Performance Counter操作放到OnStart方法中,不要 阅读全文
posted @ 2011-12-03 01:06 DataFlow 阅读(241) 评论(0) 推荐(0) 编辑