Article View: cn.bbs.comp.lang.java
Article #21344Re: ��ѧ�߹����߳�����~~~
From: 46"CoalBH;��ӭ�μӺ�ͿSmalllX�������...
Date: Fri, 05 Dec 2003 12:09
Date: Fri, 05 Dec 2003 12:09
25 lines
1706 bytes
1706 bytes
�ٸ����ӣ�
����A��ʵ���߳��������A��run()���ʲô��
���B���Լ���A����B����A��λ�����ʲô��
PS:���A����и��ж�
if(a==1) ..
else if(a==2) ..
���� A ����ṩ���� a �ķ��� f()����ôΪ��ʹ��� a ��ʱ��������壬��ôӦ��
���ж���ټӵ� synchronized(this){} ��ߣ�����Ӧ�ð� f() ������ synchronized��?
лл��
�� �� elove (����Ψ��) �Ĵ������ᵽ: ��
: ��wait()��notifyAll()
--
A.B C.D.E F.G.a.b c
��con amore��
Zzzzzzz
[m[1;32m�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.210.90][m
Technical Details
Message-ID:
<49WfI9$ASV@bbs.pku.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKUShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,4a23158f6712ec04 X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-05 04:10:28 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer2.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU From: SmallX@bbs.pku.edu.cn (46"CoalBH;��ӭ�μӺ�ͿSmalllX���������) Newsgroups: cn.bbs.comp.lang.java Subject: Re: ��ѧ�߹����߳�����~~~ Date: 05 Dec 2003 12:09:19 GMT Organization: ����δ��վ Message-ID: <49WfI9$ASV@bbs.pku.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1070625897.A Lines: 25