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.
17 #include "sgen/sgen-gc.h"
18 #include "sgen/sgen-archdep.h"
19 #include "sgen/sgen-protocol.h"
20 #include "metadata/object-internals.h"
21 #include "metadata/gc-internals.h"
24 #if defined(USE_COOP_GC)
27 sgen_resume_thread (SgenThreadInfo *info)
34 sgen_suspend_thread (SgenThreadInfo *info)
41 sgen_wait_for_suspend_ack (int count)
45 /* LOCKING: assumes the GC lock is held */
47 sgen_thread_handshake (BOOL suspend)
59 mono_gc_get_suspend_signal (void)
65 mono_gc_get_restart_signal (void)
72 // Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty.
73 void __mono_win32_sgen_os_coop_quiet_lnk4221(void) {}
75 #endif /* USE_COOP_GC */