[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: Thread addon for shutdown hooks.
From: |
Michael Koch |
Subject: |
Re: [cp-patches] Patch: Thread addon for shutdown hooks. |
Date: |
Fri, 30 Jul 2004 11:16:06 +0200 |
User-agent: |
KMail/1.6.2 |
Am Freitag, 30. Juli 2004 10:59 schrieb Guilhem Lavaux:
> Jeroen Frijters wrote:
> >Guilhem Lavaux wrote:
> >>While merging the VMThread model in kaffe, I've noticed that
> >> Runtime does not check whether hooks had already been started
> >> when they are being added. So I've added one small method to
> >> Thread and the corresponding checking in
> >> Runtime.addShutdownHook. The error reporting
> >>has also been improved by providing messages to exceptions.
> >>
> >>Comments ?
> >
> >I think this shouldn't be necessary. If getThreadGroup() returns
> > null, that means that the thread was already started and has
> > died.
Can this be added to the documentation ? Or is this already in the
javadoc ?
Michael