mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 00:25:33 +08:00
6d958acf09
2000-08-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment to `alive_flag', call `init'. (init): New native method. * gnu/gcj/jni/natNativeThread.cc (init): New native method implementation. (http://sources.redhat.com/ml/java-patches/2000-q3/msg00142.html) From-SVN: r35931
31 lines
644 B
C++
31 lines
644 B
C++
// 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_ ();
|
|
}
|
|
|
|
void
|
|
gnu::gcj::jni::NativeThread::init ()
|
|
{
|
|
alive_flag = true; // alive_flag is private in java.lang.Thread
|
|
}
|