OSDN Git Service

PR fortran/30073
[pf3gnuchains/gcc-fork.git] / libjava / include / no-gc.h
1 // -*- c++ -*-
2 // no-gc.h - Defines for no garbage collector.
3
4 /* Copyright (C) 1998, 1999, 2006, 2007  Free Software Foundation
5
6    This file is part of libgcj.
7
8 This software is copyrighted work licensed under the terms of the
9 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
10 details.  */
11
12 #ifndef __JV_NO_GC__
13 #define __JV_NO_GC__
14
15 // Suspend the given thread. This includes suspending the calling thread.
16 extern "C" void _Jv_SuspendThread (_Jv_Thread_t *);
17
18 // Resume a suspended thread.
19 extern "C" void _Jv_ResumeThread (_Jv_Thread_t *);
20
21 // Is the given thread suspended?
22 extern "C" int _Jv_IsThreadSuspended (_Jv_Thread_t *);
23 #endif /* __JV_NO_GC__ */