summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorrmind <rmind@NetBSD.org>2009-01-20 01:57:35 +0000
committerrmind <rmind@NetBSD.org>2009-01-20 01:57:35 +0000
commit909e7f4259dc6d7aa5b3e7e9355100ea2739fe81 (patch)
tree7681399a0aca0eb5b92db6eeaee785323369a0f9 /lib/libpthread
parent94a80e664692924d7de799f613ddb24832985845 (diff)
- Make thread-affinity and processor-set interfaces mutually exlusive.
- pset_assign: when CPU is assigned, migrate out all LWPs from it.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/affinity.311
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libpthread/affinity.3 b/lib/libpthread/affinity.3
index b64704efa9c..797446e5308 100644
--- a/lib/libpthread/affinity.3
+++ b/lib/libpthread/affinity.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: affinity.3,v 1.3 2008/10/18 03:37:41 rmind Exp $
+.\" $NetBSD: affinity.3,v 1.4 2009/01/20 01:57:36 rmind Exp $
.\"
.\" Copyright (c) 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -113,11 +113,10 @@ No thread could be found corresponding to the one specified by
.Fa thread .
.El
.Sh NOTES
-If thread affinity is used together with the processor sets, see
-.Xr pset 3 ,
-then affinity mask takes precedence over the assignment to processor
-sets.
-However, it is not recomended to combine these interfaces together.
+There is an alternative processor sets interface, see
+.Xr pset 3 .
+However, thread affinity and processor sets are mutually exclusive,
+hence mixing of these interfaces is prohibited.
.Sh SEE ALSO
.Xr cpuset 3 ,
.Xr pset 3 ,