Message-ID: <4cjLhf$J8g@bbs.sjtu.edu.cn>
Subject: Re: ���叱�lock�������������耍����
Date: Thu, 06 Nov 2008 09:15:07 +0000
From: Fanyue.bbs@bbs.sjtu.edu.cn (����������图�����F04 forever)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.dotnet.mbox.zip!g2news1.google.com!news2.google.com!news.glorb.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU
Newsgroups: cn.bbs.comp.dotnet
Organization: ��水思源
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: DotNET/M.1225962809.A
Xref: 74.82.202.154 cn.bbs.comp.dotnet:8982

��������
if (Monitor.TryEnter(_lockobj[i]))
{
      //deal with input or output or sort here
      Monitor.Exit(_lockobj[i]);
}
�� �� TTear (555...TT������为太���������) �拇������到: ��
: �殉����械�lock��为���碌�tryenter
:                 if (Monitor.TryEnter(_lockobj[i]))
:                     //deal with input or output or sort here
:                 Monitor.Exit(_lockobj[i]);
: ���执����耍����拢�
: Unhandled Exception: Unhandled Exception: Unhandled Exception: Unhandled Excep
: tion: Unhandled Exception: Unhandled Exception: System.Threading.Synchronizati
: onLockException: Object synchronization method was called from an unsynchroniz
: ed block of code.
: �遣���应������未���前�����什么�����兀�����@@~~~
: .................������省�裕�
--

�� ��源:����水思源 bbs.sjtu.edu.cn��[FROM: 58.196.149.47]