Is it possible to preserve flags for fetestexcept() inside signal handler

Jed Brown jed@59A2.org
Thu Jun 7 20:47:00 GMT 2012


On Thu, Jun 7, 2012 at 12:54 PM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> You must not call fetestexcept() from a signal handler since it is
> not async-signal safe.
>
> Unfortunately there isn't any infrastructure in glibc to do what
> you want.

Okay, thank you. If there is an opportunity to support this use case,
it would save a lot of time in some HPC scenarios where it's expensive
to get a core file or a debugging session.



More information about the Libc-help mailing list