<s>
An	O
affinity	B-General_Concept
mask	I-General_Concept
is	O
a	O
bit	O
mask	O
indicating	O
what	O
processor(s )	O
a	O
thread	B-Operating_System
or	O
process	B-Operating_System
should	O
be	O
run	O
on	O
by	O
the	O
scheduler	O
of	O
an	O
operating	B-General_Concept
system	I-General_Concept
.	O
</s>
<s>
Setting	O
the	O
affinity	B-General_Concept
mask	I-General_Concept
for	O
certain	O
processes	O
running	O
under	O
Windows	O
can	O
be	O
useful	O
as	O
there	O
are	O
several	O
system	O
processes	O
(	O
especially	O
on	O
domain	O
controllers	O
)	O
that	O
are	O
restricted	O
to	O
the	O
first	O
CPU	O
/	O
Core	O
.	O
</s>
<s>
Thread	B-Operating_System
affinity	O
in	O
Microsoft	B-Application
Windows	I-Application
can	O
be	O
specified	O
with	O
the	O
SetThreadAffinityMask	O
function	O
.	O
</s>
<s>
Forcing	O
of	O
each	O
OpenMP	B-Application
thread	B-Operating_System
to	O
distinctive	O
cores	O
in	O
Windows	O
can	O
be	O
accomplished	O
by	O
means	O
of	O
the	O
following	O
C	B-Language
code	O
:	O
</s>
