* jit.c (mono_runtime_install_handlers): Use SYS_sigaction() for
the mono_thread_get_abort_signal () - this is SIGUSR1 on FreeBSD
and the LinuxThreads port doesn't allow you to override the handler.
[FIXME: This avoids an assertion failure on startup, but there's
still an issue with thread termination.]
svn path=/trunk/mono/; revision=10576
+2003-01-16 Martin Baulig <martin@ximian.com>
+
+ * jit.c (mono_runtime_install_handlers): Use SYS_sigaction() for
+ the mono_thread_get_abort_signal () - this is SIGUSR1 on FreeBSD
+ and the LinuxThreads port doesn't allow you to override the handler.
+ [FIXME: This avoids an assertion failure on startup, but there's
+ still an issue with thread termination.]
+
2003-01-16 Martin Baulig <martin@ximian.com>
* debug.c: Use the mono/io-layer functions here instead of gthread.
sigemptyset (&sa.sa_mask);
sa.sa_flags = 0;
//g_assert (syscall (SYS_sigaction, SIGILL, &sa, NULL) != -1);
- g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1);
+ g_assert (syscall (SYS_sigaction, mono_thread_get_abort_signal (), &sa, NULL) != -1);
+ //g_assert (sigaction (mono_thread_get_abort_signal (), &sa, NULL) != -1);
#if 1
/* catch SIGSEGV */