* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
From-SVN: r28753
1999-08-18 Tom Tromey <tromey@cygnus.com>
+ * java/lang/ThreadGroup.java: Fixed now-erroneous comment.
+ * java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
+
+1999-08-18 Tom Tromey <tromey@cygnus.com>
+
* include/javaprims.h ("Java"): Regenerated namespace decls.
1999-08-18 Kresten Krab Thorup <krab@gnu.org>
}
// This is called by the Thread code to remove a Thread from our
- // internal list. FIXME: currently, it isn't called at all. There
- // doesn't appear to be any way to remove a Thread from a
- // ThreadGroup (except the unimplemented destroy method).
+ // internal list.
final void remove (Thread t)
{
threads.removeElement(t);
_Jv_MutexUnlock (&t->interrupt_mutex);
}
+ group->remove (this);
+
_Jv_MonitorExit (this);
}