diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man3/pthread_attr_setscope.3 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/pthread_attr_setscope.3')
-rw-r--r-- | man3/pthread_attr_setscope.3 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/pthread_attr_setscope.3 b/man3/pthread_attr_setscope.3 index c9acfc4..024efa5 100644 --- a/man3/pthread_attr_setscope.3 +++ b/man3/pthread_attr_setscope.3 @@ -4,7 +4,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH pthread_attr_setscope 3 2023-07-20 "Linux man-pages 6.05.01" +.TH pthread_attr_setscope 3 2023-10-31 "Linux man-pages 6.7" .SH NAME pthread_attr_setscope, pthread_attr_getscope \- set/get contention scope attribute in thread attributes object @@ -14,7 +14,7 @@ POSIX threads library .SH SYNOPSIS .nf .B #include <pthread.h> -.PP +.P .BI "int pthread_attr_setscope(pthread_attr_t *" attr ", int " scope ); .BI "int pthread_attr_getscope(const pthread_attr_t *restrict " attr , .BI " int *restrict " scope ); @@ -54,14 +54,14 @@ with other threads in the same process that were created with the .B PTHREAD_SCOPE_SYSTEM contention scope. -.PP +.P POSIX.1 requires that an implementation support at least one of these contention scopes. Linux supports .BR PTHREAD_SCOPE_SYSTEM , but not .BR PTHREAD_SCOPE_PROCESS . -.PP +.P On systems that support multiple contention scopes, then, in order for the parameter setting made by .BR pthread_attr_setscope () @@ -73,7 +73,7 @@ to set the inherit-scheduler attribute of the attributes object .I attr to .BR PTHREAD_EXPLICIT_SCHED . -.PP +.P The .BR pthread_attr_getscope () function returns the contention scope attribute of the @@ -112,7 +112,6 @@ T{ .BR pthread_attr_getscope () T} Thread safety MT-Safe .TE -.sp 1 .SH STANDARDS POSIX.1-2008. .SH HISTORY @@ -125,7 +124,7 @@ bound directly to a single kernel-scheduling entity. This is the case on Linux for the obsolete LinuxThreads implementation and the modern NPTL implementation, which are both 1:1 threading implementations. -.PP +.P POSIX.1 specifies that the default contention scope is implementation-defined. .SH SEE ALSO |