新学一招,教大家怎么看死锁 代码如下,3个线程,第一个线程得到锁,Sleep一分钟,后两个线程都等待锁。 class Program { static List _list = new List(); static object _syncRoot = new object(); static void Main(string[] args) { ... Read More
posted @ 2009-02-04 13:14
蛙蛙王子
Views(1156)
Comments(1)
Diggs(1)

浙公网安备 33010602011771号