classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cp-patches] Patch: Thread addon for shutdown hooks.


From: Jeroen Frijters
Subject: RE: [cp-patches] Patch: Thread addon for shutdown hooks.
Date: Fri, 30 Jul 2004 11:24:12 +0200

Michael Koch wrote:
> > >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 ?

It is documented for the Thread.getThreadGroup method that it returns
null if the thread has died, but the lifecycle of a thread (and the
states it can be in) could be better documented (esp. from an inside
view of Thread, not so much as a user view).

Regards,
Jeroen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]