no-gc.h 672 B

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