This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgo patch committed: Catch signals on alternate stack
- From: Richard Henderson <rth at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Wed, 21 Dec 2011 14:55:43 -0800
- Subject: Re: libgo patch committed: Catch signals on alternate stack
- References: <mcry5u51ru2.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
On 12/21/2011 02:29 PM, Ian Lance Taylor wrote:
> +/* Ignore a signal. This is called on the alternate signal stack so
> + it may not split the stack. */
> +
> +static void sig_ignore (int) __attribute__ ((no_split_stack));
>
> static void
> sig_ignore (int sig __attribute__ ((unused)))
> {
> }
Does SIG_IGN not work for some reason?
r~