摘要: class Program { static void Main(string[] args) { Console.WriteLine("=======Start Main!=============="); AsyncMethod(); Console.WriteLine("========End Main!==============="); Console.ReadKey(); } // Async action priva... 阅读全文
posted @ 2013-08-25 23:03 chunchill 阅读(545) 评论(0) 推荐(1) 编辑
摘要: http://msdn.microsoft.com/zh-cn/library/system.threading.autoresetevent.aspxhttp://msdn.microsoft.com/en-us/library/system.threading.autoresetevent.aspx很久以前对这段翻译就很不爽了,为啥一直都要把non-signaled的翻译成“非终止状态”,为啥TMD就不可以翻译成“无信号量状态”,把signaled非得叫啥“终止状态”,直接翻成“有信号量的状态”不是更好吗。AutoResetEventallows threads to communicat 阅读全文
posted @ 2013-08-25 21:55 chunchill 阅读(1386) 评论(4) 推荐(3) 编辑