|
From: | Guilhem Lavaux |
Subject: | Re: [cp-patches] Patch: Thread addon for shutdown hooks. |
Date: | Fri, 30 Jul 2004 11:31:56 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 |
Michael Koch wrote:
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 ?
It is already in the documentation. Shame on me. :( Guilhem.
[Prev in Thread] | Current Thread | [Next in Thread] |