manual/setjmp.texi: Clarify setcontext and signal handlers text
commit7c6776620db8e48fca492dbcac88d1c0f239dcde
authorWill Newton <will.newton@linaro.org>
Thu, 13 Mar 2014 09:45:29 +0000 (13 09:45 +0000)
committerWill Newton <will.newton@linaro.org>
Thu, 17 Apr 2014 10:40:36 +0000 (17 11:40 +0100)
tree046a6f9a10d27442429c6c50b0e0f32fac286936
parente04a4e9d2e639a7770e1c0d24ecbcf92abf6bba8
manual/setjmp.texi: Clarify setcontext and signal handlers text

Calling setcontext from a signal handler can be done safely so
it is sufficient to note that it is not recommended.

Also mention in setcontext documentation that the behaviour of
setcontext when restoring a context created by a call to a signal
handler is unspecified.

2014-04-17  Will Newton  <will.newton@linaro.org>

* manual/setjmp.texi (System V contexts): Add note that
calling setcontext on a context created by a call to a
signal handler is undefined.  Update text to note that
setcontext from a signal handler is possible but not
recommended.
ChangeLog
manual/setjmp.texi