.\" 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
.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
.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,
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.
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
.\" "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)
.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
.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/.