From: Ivan Maidanski Date: Tue, 10 Jan 2012 13:18:10 +0000 (+0400) Subject: FreeBSD: Add comment to SIG_SUSPEND/THR_RESTART definitions X-Git-Tag: gc7_3alpha2~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=459c7dac486a476744436b54bc1caf20a5e3a298;p=gc FreeBSD: Add comment to SIG_SUSPEND/THR_RESTART definitions * include/private/gcconfig.h (SIG_SUSPEND, SIG_THR_RESTART): Add comment (suggest alternate value) for FreeBSD/i386, FreeBSD/alpha and FreeBSD/x86_64. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index d68b5611..0e30abca 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1350,6 +1350,7 @@ # else # define SIG_SUSPEND SIGUSR1 # define SIG_THR_RESTART SIGUSR2 + /* SIGTSTP and SIGCONT could be used alternatively. */ # endif # define FREEBSD_STACKBOTTOM # ifdef __ELF__ @@ -1687,6 +1688,7 @@ /* MPROTECT_VDB is not yet supported at all on FreeBSD/alpha. */ # define SIG_SUSPEND SIGUSR1 # define SIG_THR_RESTART SIGUSR2 + /* SIGTSTP and SIGCONT could be used alternatively. */ # define FREEBSD_STACKBOTTOM # ifdef __ELF__ # define DYNAMIC_LOADING @@ -2179,6 +2181,7 @@ # else # define SIG_SUSPEND SIGUSR1 # define SIG_THR_RESTART SIGUSR2 + /* SIGTSTP and SIGCONT could be used alternatively. */ # endif # define FREEBSD_STACKBOTTOM # ifdef __ELF__