[sgen] Make sure we don't sweep a block if we're not supposed to
[mono.git] / mono / utils / mono-threads-windows-abort-syscall.c
index 13d0b3dec9180ba7c3530df5aea1619d22db3331..19afe3e6b8e0d4276d3abb4aa01d328a0f291407 100644 (file)
 
 #include <mono/utils/mono-threads.h>
 
-#if defined(USE_WINDOWS_SYSCALL_ABORT)
+#if defined(USE_WINDOWS_BACKEND)
 
 #include <limits.h>
 
 void
-mono_threads_init_abort_syscall (void)
+mono_threads_abort_syscall_init (void)
 {
 }
 
@@ -27,7 +27,7 @@ abort_apc (ULONG_PTR param)
 }
 
 void
-mono_threads_core_abort_syscall (MonoThreadInfo *info)
+mono_threads_suspend_abort_syscall (MonoThreadInfo *info)
 {
        DWORD id = mono_thread_info_get_tid (info);
        HANDLE handle;
@@ -41,7 +41,7 @@ mono_threads_core_abort_syscall (MonoThreadInfo *info)
 }
 
 gboolean
-mono_threads_core_needs_abort_syscall (void)
+mono_threads_suspend_needs_abort_syscall (void)
 {
        return TRUE;
 }