Search: in
Affinity mask
Affinity mask in Encyclopedia Encyclopedia
  Tutorials     Encyclopedia     Videos     Books     Software     DVDs  
       





Affinity mask

An affinity mask is a bit mask indicating what processor(s) a thread or process should be run on by the scheduler of an operating system. Setting the affinity mask for certain processes running under Windows can be useful as there are several system processes (especially on domain controllers) that are restricted to the first CPU / Core. So, excluding the first CPU might lead to better application performance.

Windows API

Thread affinity in Microsoft Windows can be specified with the SetThreadAffinityMask function. Forcing of each OpenMP thread to distinctive cores in Windows can be accomplished by means of the following C code:

See also

External links






Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article



Search for Affinity mask in Tutorials
Search for Affinity mask in Encyclopedia
Search for Affinity mask in Videos
Search for Affinity mask in Books
Search for Affinity mask in Software
Search for Affinity mask in DVDs
Search for Affinity mask in Store




Advertisement




Affinity mask in Encyclopedia
Affinity_mask top Affinity_mask

Home - Add TutorGig to Your Site - Disclaimer

©2011-2013 TutorGig.info All Rights Reserved. Privacy Statement