Article View: cn.bbs.comp.lang.java
Article #20723Re: [java��]������ֹһ���̵߳����У�
From: ������
Date: Mon, 15 Dec 2003 10:26
Date: Mon, 15 Dec 2003 10:26
19 lines
1155 bytes
1155 bytes
re
�� �� OtherVoices.bbs@bbs.nankai.edu.cn (99SE.Eric.Hsu.��ܿ� �Ĵ������ᵽ: ��
: boolean isStop = false;
: public void stopMe() {
: isStop = true;
: }
: public void run() {
: while (!isStop) {
: // keep doing something here...
: }
: }
--
simple is beauty
[m[1;37m�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 202.112.86.8][m
Technical Details
Message-ID:
<49eTdB$AaJ@bbs.pku.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!news.happynet.org!PKUShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB X-Google-Thread: f6cb0,a06d199e370a9806 X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-15 02:27:07 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU From: elove@bbs.pku.edu.cn (����Ψ��) Newsgroups: cn.bbs.comp.lang.java Subject: Re: [java��]������ֹһ���̵߳����У� Date: 15 Dec 2003 10:26:38 GMT Organization: ����δ��վ Message-ID: <49eTdB$AaJ@bbs.pku.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1071483995.A Lines: 19