🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #19166

Re: ����߳�A��ȴ��߳�B������ôʵ����

#19166
From: Nuclear
Date: Fri, 09 Jan 2004 16:17
24 lines
2043 bytes
���Ʋ���notify����Ϊ���߳��˳���ǰ���������������ͬ����ֻ�еײ��task sched
uler���ܽ����
isAlive()��native������Ӧ���ǵ���api�Ľ��

�� �� Ghosts (�񹤼�~1.5G) �Ĵ������ᵽ: ��
: ��Ҳ�Dz²�ģ��ո�ȥ����һ�´��룬����Ӧ����
: while (isAlive()) {
:       wait(0);
: }
: ����Thread�˳���ʱ���notifyһ�¡�
: ���⣬�Ҳ���ʲô��ţ��˵��������... -_-b
: �� �� Continue �Ĵ������ᵽ: ��
: : �Ǻǣ���ţ�����˰�
: : ��������ij��������վ����˵
: : join�ǰ�ѭ����ѯ����ȥ�Ľ��
: .................������ʡ�ԣ�

--
�ƣ��ƣ����ȥ�䰡��
���̣������������ȥ��ѧ��ֵ�࣡����
���̣���������㿴����ط����ɾ�����ѧ�ڽ���
���ˣ�
������������������
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 218.1.145.99]
Technical Details
Message-ID: <4ACGHQ$ACH@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,bcb64720dc6beba3
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-01-09 08:19:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out.visi.com!petbe.visi.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: thomasy.bbs@bbs.sjtu.edu.cn (Nuclear)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ����߳�A��ȴ��߳�B������ôʵ����
Date: 09 Jan 2004 16:17:40 GMT
Organization: ��ˮ˼Դ
Message-ID: <4ACGHQ$ACH@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1073664842.A