mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
no-gc.h (_Jv_IsThreadSuspended): Declare.
* 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.
From-SVN: r124082
This commit is contained in:
@@ -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__ */
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user