Commit 5a0eb832 by Tom Tromey Committed by Tom Tromey

ThreadGroup.java: Fixed now-erroneous comment.

	* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
	* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.

From-SVN: r28753
parent b30f05db
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>
......
......@@ -80,9 +80,7 @@ public class ThreadGroup
}
// 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);
......
......@@ -250,6 +250,8 @@ java::lang::Thread::finish_ (void)
_Jv_MutexUnlock (&t->interrupt_mutex);
}
group->remove (this);
_Jv_MonitorExit (this);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment