jbaker at cs.utah.edu
Mon May 22 11:46:22 PDT 2000
Mo DeJong <mdejong at cygnus.com> writes:
> I was under the impression that methods like Thread.stop() were
> removed from the JDK or replaced with no-ops. I seem to remember
> that they were never implemented in Netscape's JVM. The whole
> concept of stoping a thread seems like a bad idea, a thread
> should expire due to natural causes.
> Here are some notes about it from the Sun developer site.
Thread.stop is dangerous, but without a process model there is really
no alternative. I'm using it to halt infinite loops, which is why I
need the stack trace.
Both Godmar and Pat use Thread.stop to implement safe termination, so
given that it is part of Kaffe, what should the call do?
More information about the kaffe