摘要: C#线程间互相通信主要用到两个类:AutoResetEvent和ManualResetEvent。一、AutoResetEventAutoResetEvent允许线程通过发信号互相通信,线程通过调用AutoResetEvent上的WaitOne来等待信号。如果AutoResetEvent为非终止状态... 阅读全文
posted @ 2014-04-18 08:08 刘珍宝 阅读(5183) 评论(14) 推荐(9) 编辑