summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_attr_getscope.3
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2017-10-23 01:03:23 +0000
committerwiz <wiz@NetBSD.org>2017-10-23 01:03:23 +0000
commita4b760f13ccc8a4df5f8e44e73bd4e4a3932bd4d (patch)
treee740742408b5e3011dad78dec2fa54315a52e1e2 /lib/libpthread/pthread_attr_getscope.3
parentc41d01af8602daecd2570840eb625fdff9252433 (diff)
Remove superfluous Tn.
Diffstat (limited to 'lib/libpthread/pthread_attr_getscope.3')
-rw-r--r--lib/libpthread/pthread_attr_getscope.38
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/libpthread/pthread_attr_getscope.3 b/lib/libpthread/pthread_attr_getscope.3
index f82f97b8d72..d41761a6e68 100644
--- a/lib/libpthread/pthread_attr_getscope.3
+++ b/lib/libpthread/pthread_attr_getscope.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: pthread_attr_getscope.3,v 1.3 2017/10/22 16:37:24 abhinav Exp $
+.\" $NetBSD: pthread_attr_getscope.3,v 1.4 2017/10/23 01:03:23 wiz Exp $
.\"
.\" Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
.\" All rights reserved.
@@ -57,8 +57,7 @@ It is only possible to set the scope of a thread before the thread is created.
There are two possible contention scopes:
.Bl -tag -width PTHREAD_SCOPE_PROCESS -offset 2n
.It Dv PTHREAD_SCOPE_SYSTEM
-The thread will contend for
-.Tn CPU
+The thread will contend for CPU
resources with all other processes and threads in the system.
Generally this means that the user thread is bound directly to the
kernel scheduling for its entire lifetime.
@@ -67,8 +66,7 @@ The thread will contend with other threads with the same scope attribute.
In general, this means that all
.Dv PTHREAD_SCOPE_PROCESS
threads are grouped together and this group of threads contends for
-.Tn CPU
-resources.
+CPU resources.
This is commonly seen to require a hybrid
.Pq Dq M:N
threading model in order to multiplex the user and kernel space scheduling.