~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/CPU_SET.3

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2010-11-11 16:51:09 UTC
  • mfrom: (1.1.44 upstream) (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101111165109-3yiyen1axa1ju3s0
Tags: 3.26-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
The following macros perform logical operations on CPU sets:
139
139
.TP 17
140
140
.BR CPU_AND ()
141
 
Store the logical AND of the sets
 
141
Store the intersection of the sets
142
142
.I srcset1
143
143
and
144
144
.I srcset2
147
147
(which may be one of the source sets).
148
148
.TP
149
149
.BR CPU_OR ()
150
 
Store the logical OR of the sets
 
150
Store the union of the sets
151
151
.I srcset1
152
152
and
153
153
.I srcset2
156
156
(which may be one of the source sets).
157
157
.TP
158
158
.BR CPU_XOR ()
159
 
Store the logical XOR of the sets
 
159
Store the XOR of the sets
160
160
.I srcset1
161
161
and
162
162
.I srcset2
163
163
in
164
164
.I destset
165
165
(which may be one of the source sets).
 
166
The XOR means the set of CPUs that are in either
 
167
.I srcset1
 
168
or
 
169
.IR srcset2 ,
 
170
but not both.
166
171
.TP
167
172
.BR CPU_EQUAL ()
168
173
Test whether two CPU set contain exactly the same CPUs.
352
357
.BR pthread_setaffinity_np (3),
353
358
.BR cpuset (7)
354
359
.SH COLOPHON
355
 
This page is part of release 3.25 of the Linux
 
360
This page is part of release 3.26 of the Linux
356
361
.I man-pages
357
362
project.
358
363
A description of the project,