🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#19134
From: The day you went away����
Date: Fri, 09 Jan 2004 07:27
21 lines
1752 bytes
yield�ѻ���ø�˭�Dz�һ����
 


�� �� thomasy (Nuclear) �Ĵ������ᵽ: ��
: лл��ң�bow
: �Ҿ���join()��������⡣
: ���A��B������A��дB.join();
: yield()�Ҿ��ã�Ӧ���ǵ���ϵͳ��task scheduler������ʱ��Ƭ��
: ����һ�£�����Ҳ����ʵ��
: while( B.isAlive() ) { A.yield(); }
: ��֪���Ƿ���ȷ
: �� �� tutufool (fool) �Ĵ������ᵽ: ��
: : a.join(b)����b.join(a)��
: : ����a.yield()�Dz���a��λ�������ʱ����b��c�أ���ȵ�b,c��ִ����ô


--
       You know I really really do...
(The day you went away����)
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 218.193.186.213]
Technical Details
Message-ID: <4AC2UA$9yH@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.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-08 23:29:25 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer1.atl.newshosting.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: Continue.bbs@bbs.sjtu.edu.cn (The day you went away����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ����߳�A��ȴ��߳�B������ôʵ����
Date: 09 Jan 2004 07:27:53 GMT
Organization: ��ˮ˼Դ
Message-ID: <4AC2UA$9yH@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1073633194.A