diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-07-17 10:05:55 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-07-17 10:05:55 +0200 |
commit | dc97c227c95dd521594f1eaa472399b9fba03b2a (patch) | |
tree | f2bc659c7c01a07c39d2b28dee3a8c0744926ffd /manual/setjmp.texi | |
parent | aaf5420c6d1d2f0135a89d08f22200f0dc0777bd (diff) | |
download | glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar.gz glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.tar.bz2 glibc-dc97c227c95dd521594f1eaa472399b9fba03b2a.zip |
setcontext: Clarify termination when uc_link is the null pointer.
Diffstat (limited to 'manual/setjmp.texi')
-rw-r--r-- | manual/setjmp.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manual/setjmp.texi b/manual/setjmp.texi index a5a7ce6523..f13ac7b00e 100644 --- a/manual/setjmp.texi +++ b/manual/setjmp.texi @@ -354,7 +354,8 @@ specified parameters passed. If this function returns execution is resumed in the context which was referenced by the @code{uc_link} element of the context structure passed to @code{makecontext} at the time of the call. If @code{uc_link} was a null pointer the application -terminates in this case. +terminates normally with an exit status value of @code{EXIT_SUCCESS} +(@pxref{Program Termination}). Since the context contains information about the stack no two threads should use the same context at the same time. The result in most cases |