diff options
| author | Jing Yu <jingyu@google.com> | 2009-11-05 15:11:04 -0800 |
|---|---|---|
| committer | Jing Yu <jingyu@google.com> | 2009-11-05 15:11:04 -0800 |
| commit | df62c1c110e8532b995b23540b7e3695729c0779 (patch) | |
| tree | dbbd4cbdb50ac38011e058a2533ee4c3168b0205 /gcc-4.2.1/libjava/include/no-gc.h | |
| parent | 8d401cf711539af5a2f78d12447341d774892618 (diff) | |
| download | toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.tar.gz toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.tar.bz2 toolchain_gcc-df62c1c110e8532b995b23540b7e3695729c0779.zip | |
Check in gcc sources for prebuilt toolchains in Eclair.
Diffstat (limited to 'gcc-4.2.1/libjava/include/no-gc.h')
| -rw-r--r-- | gcc-4.2.1/libjava/include/no-gc.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc-4.2.1/libjava/include/no-gc.h b/gcc-4.2.1/libjava/include/no-gc.h new file mode 100644 index 000000000..193b8ea4d --- /dev/null +++ b/gcc-4.2.1/libjava/include/no-gc.h @@ -0,0 +1,21 @@ +// -*- c++ -*- +// no-gc.h - Defines for no garbage collector. + +/* Copyright (C) 1998, 1999, 2006 Free Software Foundation + + This file is part of libgcj. + +This software is copyrighted work licensed under the terms of the +Libgcj License. Please consult the file "LIBGCJ_LICENSE" for +details. */ + +#ifndef __JV_NO_GC__ +#define __JV_NO_GC__ + +// Suspend the given thread. This includes suspending the calling thread. +extern "C" void _Jv_SuspendThread (_Jv_Thread_t *); + +// Resume a suspended thread. +extern "C" void _Jv_ResumeThread (_Jv_Thread_t *); + +#endif /* __JV_NO_GC__ */ |
