OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / pthread_setaffinity_np.3
index ac03422..624ec94 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH PTHREAD_SETAFFINITY_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_SETAFFINITY_NP 3 2014-05-23 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_setaffinity_np, pthread_getaffinity_np \- set/get
 CPU affinity of a thread
@@ -118,6 +118,13 @@ No thread with the ID
 could be found.
 .SH VERSIONS
 These functions are provided by glibc since version 2.3.4.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR pthread_setaffinity_np ()
+and
+.BR pthread_getaffinity_np ()
+functions are thread-safe.
 .SH CONFORMING TO
 These functions are nonstandard GNU extensions;
 hence the suffix "_np" (nonportable) in the names.
@@ -205,17 +212,18 @@ main(int argc, char *argv[])
 .fi
 .SH SEE ALSO
 .BR sched_setaffinity (2),
-.BR sched_setscheduler (2),
 .BR pthread_attr_setaffinity_np (3),
 .BR pthread_self (3),
 .BR sched_getcpu (3),
 .BR cpuset (7),
-.BR pthreads (7)
+.BR pthreads (7),
+.BR sched (7)
 .SH COLOPHON
-This page is part of release 3.65 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/.