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