2 * sgen-os-coop.c: SGen Cooperative backend support.
5 * João Matos (joao.matos@xamarin.com)
6 * Copyright (C) 2015 Xamarin Inc
8 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
16 #include "sgen/sgen-gc.h"
17 #include "sgen/sgen-archdep.h"
18 #include "sgen/sgen-protocol.h"
19 #include "metadata/object-internals.h"
20 #include "metadata/gc-internals.h"
23 #if defined(USE_COOP_GC)
26 sgen_resume_thread (SgenThreadInfo *info)
33 sgen_suspend_thread (SgenThreadInfo *info)
40 sgen_wait_for_suspend_ack (int count)
44 /* LOCKING: assumes the GC lock is held */
46 sgen_thread_handshake (BOOL suspend)
58 mono_gc_get_suspend_signal (void)
64 mono_gc_get_restart_signal (void)