Merge pull request #1922 from antonmes/master
[mono.git] / mono / utils / mono-threads-windows.c
index 190720b94d03662d6e9849feae8be1a5833a5f62..9f3581e9a3907848b62de857f26aaa6546f60570 100755 (executable)
@@ -7,11 +7,10 @@
  * (C) 2011 Novell, Inc
  */
 
-#include "config.h"
+#include <mono/utils/mono-threads.h>
 
-#if defined(HOST_WIN32)
+#if defined(USE_WINDOWS_BACKEND)
 
-#include <mono/utils/mono-threads.h>
 #include <mono/utils/mono-compiler.h>
 #include <limits.h>
 
@@ -40,12 +39,6 @@ mono_threads_core_abort_syscall (MonoThreadInfo *info)
        CloseHandle (handle);
 }
 
-void
-mono_threads_core_interrupt (MonoThreadInfo *info)
-{
-       mono_threads_core_abort_syscall (info);
-}
-
 gboolean
 mono_threads_core_needs_abort_syscall (void)
 {
@@ -159,6 +152,20 @@ mono_threads_platform_free (MonoThreadInfo *info)
 {
 }
 
+void
+mono_threads_core_begin_global_suspend (void)
+{
+}
+
+void
+mono_threads_core_end_global_suspend (void)
+{
+}
+
+#endif
+
+#if defined (HOST_WIN32)
+
 typedef struct {
        LPTHREAD_START_ROUTINE start_routine;
        void *arg;