c# lock 使用不当引起的死锁
摘要:
Thread Synchronization (C# and Visual Basic)中提到最好不要lock publi的东西,比如:1. lock(this)2. lock(“string”)3. lock(typeof(int))我在github上放了个死锁的例子。 阅读全文
posted @ 2012-07-19 09:22 fresky 阅读(647) 评论(0) 推荐(0) 编辑
posted @ 2012-07-19 09:22 fresky 阅读(647) 评论(0) 推荐(0) 编辑