mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 16:51:01 +08:00
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
This commit is contained in:
parent
b30f05db01
commit
5a0eb8326f
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user