摘要:
ManualResetEvent实现异步等待,超过时间 不做处理,继续往下执行代码 (ManualResetEvent 涉及一个线程在其他线程进行之前必须完成的任务) 1 ManualResetEvent[] mre = new ManualResetEvent[2]; 2 3 mre[0] = n 阅读全文
posted @ 2015-10-02 16:34 system_kk 阅读(406) 评论(0) 推荐(0)
|
摘要:
ManualResetEvent实现异步等待,超过时间 不做处理,继续往下执行代码 (ManualResetEvent 涉及一个线程在其他线程进行之前必须完成的任务) 1 ManualResetEvent[] mre = new ManualResetEvent[2]; 2 3 mre[0] = n 阅读全文
posted @ 2015-10-02 16:34 system_kk 阅读(406) 评论(0) 推荐(0)
摘要:
应用场景:IIS网站挂掉,系统自动重启IIS,通知相关联系人; 主要代码: 监控类 public class monitoringiis { EmailSend send = new EmailSend(); public void MonitoringISSAppPool(object obj) 阅读全文
posted @ 2015-10-02 11:21 system_kk 阅读(797) 评论(0) 推荐(0) |
||