Thread View: news.software.nntp
2 messages
2 total messages
Started by Lame Chickenhead
Mon, 19 Mar 2007 00:54
Re: When the stop() in Thread class changed to final method?
Author: Lame Chickenhead
Date: Mon, 19 Mar 2007 00:54
Date: Mon, 19 Mar 2007 00:54
51 lines
3090 bytes
3090 bytes
In article <epup7l$4o0$1@ctb-nnrp2.saix.net>, Rogan Dawes
<discard@dawes.za.net> wrote:
>RC wrote:
>> Daniel Pitts wrote:
>>> On Feb 1, 7:27 am, RC <raymond.c...@nospam.noaa.gov> wrote:
>>>> If you go to this link
>>>>
>>>> http://java.sun.com/j2se/1.5.0/docs/guide/misc/threadPrimitiveDepreca...
>>
>>>
>>> That document you linked to is suggesting that you override the stop
>>> method in Applet, not Thread.
>>
>> Then, do you know how I can stop a thread since Thread.stop()
>> has deprecated. Can I just make a thread = null?
Forgot to tellya.
First of all, you can't possibly set thread to null.
Whatever you set in your program,
is just your copy of a pointer to a thread.
The thread exists in JVM or operating system
and it could care less what you set in your program.
Just about the only thing you can do to it,
is to ethier exit gracefuly,
or slaughter it, which will simply crash your program,
at least in some cases.
Making your thread variable null
does not affect that tread in ANY way.
It only takes away your ability to refer to it
from your program.
Anotherwords, it doesn't do a jack shit.
>Did you not read the link that YOU provided above?
>
>It has all the advice and examples you need to answer that question.
>
>Rogan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"[The Space Shuttle] Columbia carried in its payroll classroom
experiments from some of our students in America."
--- Adolph Bush,
Bethesda, Md., Feb. 3, 2003
Re: When the stop() in Thread class changed to final method?
Author: Rev. 11D Meow!
Date: Mon, 19 Mar 2007 16:38
Date: Mon, 19 Mar 2007 16:38
12 lines
1952 bytes
1952 bytes
"Lame Chickenhead" <ugliest@telus.net> wrote in message news:CC05FCF7.BEC38D4B@89.200.175.138... > ethier SEE? Coders R Dumb
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads