mirror of https://github.com/mkerrisk/man-pages
pthread_attr_setscope.3: CONFORMING TO: add POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4ebb124821
commit
7b760db9ea
|
@ -48,7 +48,7 @@ to the value specified in
|
|||
.IR scope .
|
||||
The contention scope attribute defines the set of threads
|
||||
against which a thread competes for resources such as the CPU.
|
||||
POSIX.1-2001 specifies two possible values for
|
||||
POSIX.1 specifies two possible values for
|
||||
.IR scope :
|
||||
.TP
|
||||
.B PTHREAD_SCOPE_SYSTEM
|
||||
|
@ -67,14 +67,14 @@ contention scope.
|
|||
.BR PTHREAD_SCOPE_PROCESS
|
||||
threads are scheduled relative to other threads in the process
|
||||
according to their scheduling policy and priority.
|
||||
POSIX.1-2001 leaves it unspecified how these threads contend
|
||||
POSIX.1 leaves it unspecified how these threads contend
|
||||
with other threads in other process on the system or
|
||||
with other threads in the same process that
|
||||
were created with the
|
||||
.B PTHREAD_SCOPE_SYSTEM
|
||||
contention scope.
|
||||
.PP
|
||||
POSIX.1-2001 requires that an implementation support at least one of these
|
||||
POSIX.1 requires that an implementation support at least one of these
|
||||
contention scopes.
|
||||
Linux supports
|
||||
.BR PTHREAD_SCOPE_SYSTEM ,
|
||||
|
@ -130,7 +130,7 @@ T{
|
|||
T} Thread safety MT-Safe
|
||||
.TE
|
||||
.SH CONFORMING TO
|
||||
POSIX.1-2001.
|
||||
POSIX.1-2001, POSIX.1-2008.
|
||||
.SH NOTES
|
||||
The
|
||||
.B PTHREAD_SCOPE_SYSTEM
|
||||
|
@ -140,7 +140,7 @@ This is the case on Linux for the obsolete LinuxThreads implementation
|
|||
and the modern NPTL implementation,
|
||||
which are both 1:1 threading implementations.
|
||||
|
||||
POSIX.1-2001 specifies that the default contention scope is
|
||||
POSIX.1 specifies that the default contention scope is
|
||||
implementation-defined.
|
||||
.SH SEE ALSO
|
||||
.ad l
|
||||
|
|
Loading…
Reference in New Issue