Affinity

  • Thread starter Thread starter Andyistic
  • Start date Start date
A

Andyistic

Using Dual-Core CPU's, when you set a process to use just one of the two
cores, which part of the process is confined to that specific core?
Just the main thread called by CreateProcess when the program was launched,
or does the core also handle the API functions called from within the
program?
I'm asking this so I can figure out the best way to dedicate CPU time to a
running program while still allowing other processes (services) to use the
other core.

-- Andy
 
I have not been able to set affinity in Vista. ("Access denied") so I need
help getting the right security credentials.

In WindowsXP, if you set the affinity of a process, the child processes
inherit the same affinity mask. Without further information, I'd assume that
Vista works the same way.
 
Back
Top