diff options
author | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-23 21:12:10 +0000 |
---|---|---|
committer | kseitz <kseitz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-23 21:12:10 +0000 |
commit | 8428ecf5c985b4e1cc757a150b72d8cb61d766b0 (patch) | |
tree | 62db8a14a77c77177ecc18c2b244a93651c94706 /libjava/include | |
parent | d58a52c6639a886c34207bb9d54f6410fc22e9ba (diff) | |
download | gcc-8428ecf5c985b4e1cc757a150b72d8cb61d766b0.tar.gz |
* include/no-gc.h (_Jv_IsThreadSuspended): Declare.
* include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise.
* boehm.cc (_Jv_IsThreadSuspended): New function.
* nogc.cc (_Jv_IsThreadSuspended): Likewise.
* jvmti.cc (_Jv_JVMTI_GetThreadState): New function.
(_Jv_JVMTI_Interface): Define GetThreadState.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/boehm-gc.h | 4 | ||||
-rw-r--r-- | libjava/include/no-gc.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libjava/include/boehm-gc.h b/libjava/include/boehm-gc.h index 7e61b8e48fb..ed8ac6aa2e3 100644 --- a/libjava/include/boehm-gc.h +++ b/libjava/include/boehm-gc.h @@ -1,7 +1,7 @@ // -*- c++ -*- // boehm-gc.h - Defines for Boehm collector. -/* Copyright (C) 1998, 1999, 2002, 2004, 2006 Free Software Foundation +/* Copyright (C) 1998, 1999, 2002, 2004, 2006, 2007 Free Software Foundation This file is part of libgcj. @@ -93,4 +93,6 @@ extern "C" void _Jv_SuspendThread (_Jv_Thread_t *); // Resume a suspended thread. extern "C" void _Jv_ResumeThread (_Jv_Thread_t *); +// Is the given thread suspended? +extern "C" int _Jv_IsThreadSuspended (_Jv_Thread_t *); #endif /* __JV_BOEHM_GC__ */ diff --git a/libjava/include/no-gc.h b/libjava/include/no-gc.h index 193b8ea4d05..ce0ffb81017 100644 --- a/libjava/include/no-gc.h +++ b/libjava/include/no-gc.h @@ -1,7 +1,7 @@ // -*- c++ -*- // no-gc.h - Defines for no garbage collector. -/* Copyright (C) 1998, 1999, 2006 Free Software Foundation +/* Copyright (C) 1998, 1999, 2006, 2007 Free Software Foundation This file is part of libgcj. @@ -18,4 +18,6 @@ extern "C" void _Jv_SuspendThread (_Jv_Thread_t *); // Resume a suspended thread. extern "C" void _Jv_ResumeThread (_Jv_Thread_t *); +// Is the given thread suspended? +extern "C" int _Jv_IsThreadSuspended (_Jv_Thread_t *); #endif /* __JV_NO_GC__ */ |