aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/jni/NativeThread.java
blob: 94d4b68fee0d3331d56cb05ce0bc9a9d19b7887f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// NativeThread.java - Wrapper for attached user threads.

/* Copyright (C) 1998, 1999, 2000  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

package gnu.gcj.jni;

/**
 * @author Tom Tromey <tromey@cygnus.com>
 * @date February 9, 2000
 */

public class NativeThread extends Thread
{
  public NativeThread (ThreadGroup g, String name)
  {
    super (g, null, name);
    alive_flag = true;
  }

  // Call this to mark the thread as finished.
  public native void finish ();
}