OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man7 / pthreads.7
index 4ebfa4e..07a0f06 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH PTHREADS 7  2010-11-14 "Linux" "Linux Programmer's Manual"
+.TH PTHREADS 7  2014-05-21 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthreads \- POSIX threads
 .SH DESCRIPTION
@@ -97,9 +97,7 @@ alternate signal stack
 .RB ( sigaltstack (2))
 .IP \- 3
 real-time scheduling policy and priority
-.RB ( sched_setscheduler (2)
-and
-.BR sched_setparam (2))
+.RB ( sched (7))
 .PP
 The following Linux-specific features are also per-thread:
 .IP \- 3
@@ -123,7 +121,7 @@ This identifier is returned to the caller of
 .BR pthread_create (3),
 and a thread can obtain its own thread identifier using
 .BR pthread_self (3).
-Thread IDs are only guaranteed to be unique within a process.
+Thread IDs are guaranteed to be unique only within a process.
 A thread ID may be reused after a terminated thread has been joined,
 or a detached thread has terminated.
 In all pthreads functions that accept a thread ID as an argument,
@@ -730,7 +728,7 @@ When one thread creates a new child process using
 any thread should be able to
 .BR wait (2)
 on the child.
-However, the implementation only allows the thread that
+However, the implementation allows only the thread that
 created the child to
 .BR wait (2)
 on it.
@@ -775,7 +773,7 @@ According to POSIX.1, a process-directed signal (sent using
 for example) should be handled by a single,
 arbitrarily selected thread within the process.
 LinuxThreads does not support the notion of process-directed signals:
-signals may only be sent to specific threads.
+signals may be sent only to specific threads.
 .IP \- 3
 Threads have distinct alternate signal stack settings.
 However, a new thread's alternate signal stack settings
@@ -804,7 +802,7 @@ Threads do not share a common nice value.
 .\" "make setpriority POSIX compliant; introduce PRIO_THREAD extension"
 .\" Monitor this to see if it makes it into mainline.
 .PP
-Some NPTL nonconformances only occur with older kernels:
+Some NPTL nonconformances occur only with older kernels:
 .IP \- 3
 The information returned by
 .BR times (2)
@@ -888,7 +886,7 @@ For example:
 .in +4n
 
 bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\
-                awk \(aq{print $3}\(aq ) | egrep \-i \(aqthreads|ntpl\(aq
+                awk \(aq{print $3}\(aq ) | egrep \-i \(aqthreads|nptl\(aq
         linuxthreads-0.10 by Xavier Leroy
 .in
 .fi
@@ -926,3 +924,12 @@ Various Pthreads manual pages, for example:
 .BR pthread_sigqueue (3),
 and
 .BR pthread_testcancel (3)
+.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/.