OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / getcontext.3
index 98d4d3e..2ff22ef 100644 (file)
@@ -22,7 +22,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH GETCONTEXT 3 2009-03-15 "Linux" "Linux Programmer's Manual"
+.TH GETCONTEXT 3 2014-04-08 "Linux" "Linux Programmer's Manual"
 .SH NAME
 getcontext, setcontext \- get or set the user context
 .SH SYNOPSIS
@@ -41,7 +41,7 @@ defined in
 and the four functions
 .BR getcontext (),
 .BR setcontext (),
-.BR makecontext (3)
+.BR makecontext (3),
 and
 .BR swapcontext (3)
 that allow user-level context switching between multiple
@@ -150,6 +150,13 @@ On error, both return \-1 and set
 appropriately.
 .SH ERRORS
 None defined.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR getcontext ()
+and
+.BR setcontext ()
+functions are thread-safe.
 .SH CONFORMING TO
 SUSv2, POSIX.1-2001.
 POSIX.1-2008 removes the specification of
@@ -192,10 +199,11 @@ instead.
 .BR makecontext (3),
 .BR sigsetjmp (3)
 .SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
 .I man-pages
 project.
 A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
 can be found at
 \%http://www.kernel.org/doc/man\-pages/.