This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]