X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fgetcontext.3;h=2ff22ef1b32ae26a363af3827af64eae28903083;hp=98d4d3e17bc24594e2170e9cad8ce6d7fba3ff65;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=78d692a91a29bb279b5fc6a6294ff3e418a184c8 diff --git a/original/man3/getcontext.3 b/original/man3/getcontext.3 index 98d4d3e1..2ff22ef1 100644 --- a/original/man3/getcontext.3 +++ b/original/man3/getcontext.3 @@ -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/.