OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / pthread_attr_setscope.3
index e52fe5d..533dd13 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH PTHREAD_ATTR_SETSCOPE 3 2013-04-19 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_ATTR_SETSCOPE 3 2014-05-28 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_attr_setscope, pthread_attr_getscope \- set/get contention scope
 attribute in thread attributes object
@@ -33,7 +33,7 @@ attribute in thread attributes object
 
 .BI "int pthread_attr_setscope(pthread_attr_t *" attr \
 ", int " scope );
-.BI "int pthread_attr_getscope(pthread_attr_t *" attr \
+.BI "int pthread_attr_getscope(const pthread_attr_t *" attr \
 ", int *" scope );
 .sp
 Compile and link with \fI\-pthread\fP.
@@ -116,6 +116,13 @@ An invalid value was specified in
 specified the value
 .BR PTHREAD_SCOPE_PROCESS ,
 which is not supported on Linux.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR pthread_attr_setscope ()
+and
+.BR pthread_attr_getscope ()
+functions are thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
@@ -139,3 +146,12 @@ implementation-defined.
 .BR pthread_attr_setschedpolicy (3),
 .BR pthread_create (3),
 .BR pthreads (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.