2000-02-11 04:31:48 +08:00
|
|
|
// natNativeThread.cc - Native side of attached threads.
|
|
|
|
|
2000-03-08 03:55:28 +08:00
|
|
|
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
2000-02-11 04:31:48 +08:00
|
|
|
|
|
|
|
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_ ();
|
|
|
|
}
|
2000-08-24 10:16:57 +08:00
|
|
|
|
|
|
|
void
|
|
|
|
gnu::gcj::jni::NativeThread::init ()
|
|
|
|
{
|
|
|
|
alive_flag = true; // alive_flag is private in java.lang.Thread
|
|
|
|
}
|