+2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * threads.c: fixed the build under cygwin.
+
Wed Dec 18 18:43:47 CET 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: handle nullref constants. Allocate keys for
int
mono_thread_get_abort_signal (void)
{
+#ifdef __MINGW32__
+ return -1;
+#else
#ifndef SIGRTMIN
return SIGUSR1;
#else
return SIGRTMIN;
#endif
+#endif /* __MINGW32__ */
}
void
thread->abort_state = state;
thread->abort_exc = mono_get_exception_thread_abort ();
-
+#ifdef __MINGW32__
+ g_assert_not_reached ();
+#else
/* fixme: store the state somewhere */
#ifdef PTHREAD_POINTER_ID
pthread_kill (GUINT_TO_POINTER(thread->tid), mono_thread_get_abort_signal ());
#else
pthread_kill (thread->tid, mono_thread_get_abort_signal ());
#endif
+#endif /* __MINGW32__ */
}
void