摘要: 创建死锁程序using System;using System.Threading;namespace ConsoleApplication1{ class Program { static void Main() { new Program().Test1(); } private void Test1() { lock (this) { Console.WriteLine("Enter Test1"); ... 阅读全文
posted @ 2013-05-20 18:15 beta2013 阅读(1509) 评论(0) 推荐(0) 编辑
摘要: 下载安装工具http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx编写问题程序using System;using System.Collections.Generic;using System.Threading;namespace ConsoleApplication1{ class Program { private readonly List _list = new List(); void CostMemory() { for (var i... 阅读全文
posted @ 2013-05-20 12:39 beta2013 阅读(1527) 评论(2) 推荐(1) 编辑