1 // FirstThread.java - Implementation of very first thread.
3 /* Copyright (C) 1998, 1999 Cygnus Solutions
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
14 * @author Tom Tromey <tromey@cygnus.com>
15 * @date August 24, 1998
18 // This is entirely internal to our implementation.
20 final class FirstThread extends Thread
22 public native void run ();
24 public FirstThread (ThreadGroup g, Class k, Object o)
26 super (g, null, "main");
32 public FirstThread (ThreadGroup g, String class_name, Object o)
34 super (g, null, "main");
36 klass_name = class_name;
40 private static void die (String s)
42 System.err.println(s);
48 private String klass_name;