diff options
Diffstat (limited to 'libjava/gnu/gcj/jni')
-rw-r--r-- | libjava/gnu/gcj/jni/NativeThread.java | 28 | ||||
-rw-r--r-- | libjava/gnu/gcj/jni/natNativeThread.cc | 24 |
2 files changed, 0 insertions, 52 deletions
diff --git a/libjava/gnu/gcj/jni/NativeThread.java b/libjava/gnu/gcj/jni/NativeThread.java deleted file mode 100644 index 94d4b68fee0..00000000000 --- a/libjava/gnu/gcj/jni/NativeThread.java +++ /dev/null @@ -1,28 +0,0 @@ -// 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 (); -} diff --git a/libjava/gnu/gcj/jni/natNativeThread.cc b/libjava/gnu/gcj/jni/natNativeThread.cc deleted file mode 100644 index 1fa31438515..00000000000 --- a/libjava/gnu/gcj/jni/natNativeThread.cc +++ /dev/null @@ -1,24 +0,0 @@ -// natNativeThread.cc - Native side of attached 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. */ - -// Written by Tom Tromey <tromey@cygnus.com> - -#include <config.h> - -#include <gcj/cni.h> -#include <jvm.h> -#include <gnu/gcj/jni/NativeThread.h> -#include <java/lang/Thread.h> - -void -gnu::gcj::jni::NativeThread::finish () -{ - finish_ (); -} |