28 Jan
2009
28 Jan
'09
7:46 a.m.
Juan Lang <juan.lang(a)gmail.com> writes:
Is this better? This trades a single call to sched_getaffinity per process to one every time the process affinity is queried. This seems safer, since a non-Wine process can also change a process's affinity, but it can have higher overhead.
Yes, that's better. But AFAICT sched_get/setaffinity applies to a single thread, not to the whole process. -- Alexandre Julliard julliard(a)winehq.org