setcontext in a signal handler
Andreas Schwab
schwab@suse.de
Tue Mar 4 08:23:00 GMT 2014
Will Newton <will.newton@linaro.org> writes:
> It's not clear to me that there is any standard that mandates that
> setcontext cannot be called from a signal handler or whether it is an
> implementation detail of glibc. Does anybody know of any historical
> reasons for this being the case?
No function is async-signal-safe unless explicitly described as such.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list