Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Proposed new Java feature Date: Tue, 29 May 2012 22:52:19 +0200 Lines: 13 Message-ID: References: <8Euwr.47425$On2.20024@newsfe16.iad> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net DSOfDuN3G0PVAwZ8uD/A2wtnAERtuK6J223xfVa2ZL4lY0h9O8lPbeMRqj566TzX8= Cancel-Lock: sha1:HhIk+gDHF3S8WnQMuLy/fnKKQnc= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:14908 On 05/29/2012 06:40 AM, Mike Schilling wrote: > "Robert Klemme" wrote in message > news:a2i77nFik2U1@mid.individual.net... >> The point is that with the global reference cleanup the specific code does >> not have a chance to run because it does not know when. The proper point >> in time is just before or during remove(). > > How would the cleanup code knew when to run during Thread exit? Obviously that would have to be implemented in class Thread using a finally block. robert