server: Use kernel support for process affinity when available (try 2)

Alexandre Julliard julliard at winehq.org
Wed Jan 28 07:46:00 CST 2009


Juan Lang <juan.lang at 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 at winehq.org



More information about the wine-devel mailing list