# Thread.stop/destroy

Godmar Back (gback@cs.utah.edu)
Fri, 19 Jun 1998 16:04:30 -0600 (MDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Previous message: Marianne Mueller: "Re: Signed applets"

    From: Godmar Back <gback@cs.utah.edu>

    Message-Id: <199806192204.QAA29257@lal.cs.utah.edu>

    Subject: Thread.stop/destroy

    To: java-security@web2.javasoft.com

    Date: Fri, 19 Jun 1998 16:04:30 -0600 (MDT)

Hi, this is a question concerning Sun's strategy in dealing with
uncooperative threads. As of 1.2b3, a conformant application has no
way of stopping these threads: Thread.stop() is deprecated (and wouldn't be
effective anyway because ThreadDeath can be caught.) and Thread.destroy
is not deprecated, but also not implemented. Both have known problems
regarding damaged data structures and deadlock.

So, what is Javasoft's long-term answer as to what the recommended way to
kill an uncooperative thread is?

- Godmar

- Previous message: Marianne Mueller: "Re: Signed applets"