Bruno Haible <br...@clisp.org> writes:

> +  int alarm_value = 50;
>    signal (SIGALRM, SIG_DFL);
> -  alarm (10);
> +  alarm (alarm_value);

Nice trick, but doesn't the compiler optimize away this?  Maybe a
'volatile' is needed.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to