1 // FinalizerThread.java -- Thread in which finalizers are run.
2 
3 /* Copyright (C) 2001, 2004  Free Software Foundation
4 
5    This file is part of libgcj.
6 
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
10 
11 package gnu.gcj.runtime;
12 
13 /**
14  * @author Tom Tromey <tromey@redhat.com>
15  * @date October 3, 2001
16  */
17 public final class FinalizerThread extends Thread
18 {
19   private static boolean finalizer_ready;
20 
FinalizerThread()21   public FinalizerThread ()
22   {
23     super ("LibgcjInternalFinalizerThread");
24     setDaemon (true);
25     finalizer_ready = false;
26     init();
27   }
28 
init()29   private native void init();
finalizerReady()30   static native void finalizerReady();
run()31   public native void run();
32 }
33