Article View: borland.public.jbuilder.java.language
Article #7819Unique Thread for each methods
From: ArShAm
Date: Tue, 15 May 2001 17:16
Date: Tue, 15 May 2001 17:16
37 lines
1555 bytes
1555 bytes
Hi there
In this class :
public class myClass extends Thread // and for implementing Runnable
{
......
Thread M1,M2,M3,M4; // M1 for method1 , M2 for method2 ,etc.
public void method1()
{
.....
}
public void method2()
{
.....
}
public void method3()
{
.....
}
public void method4()
{
.....
}
.........
}
How to make unique threads for each methods that when ever I need , start or
stop them?
Thanks
ArShAm
Technical Details
Message-ID:
<3b02850a$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!newsfeed.gamma.ru!Gamma.RU!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d62c14e6e0c1b82e,start X-Google-Attributes: gidf74b3,public X-Google-Thread: f7754,d62c14e6e0c1b82e,start X-Google-Attributes: gidf7754,public X-Google-ArrivalTime: 2001-05-16 07:28:09 PST Reply-To: "ArShAm" <ArShAm@abshar.net> From: "ArShAm" <ArShAm@abshar.net> Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.students Subject: Unique Thread for each methods Date: Tue, 15 May 2001 21:46:08 +0430 Lines: 39 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 61.11.252.152 Message-ID: <3b02850a$1_2@dnews> X-Trace: dnews 990020874 61.11.252.152 (16 May 2001 06:47:54 -0700) Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!newsfeed.gamma.ru!Gamma.RU!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews