[Bug 19982] SetThreadAffinityMask() seems not to work correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 30 11:11:37 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19982





--- Comment #21 from Juan Lang <juan_lang at yahoo.com>  2009-09-30 11:11:36 ---
(In reply to comment #19)
> I have applied these pataches and my ART test program shows a logic error.  If
> the Process Affinity is 0x01 setting a Thread afffinity of 0x02 does not fail
> and it should do.

Thanks, you're right, I missed that in my tests and implementation.

> Further when I tested with SIV the returned APICs on SIV startup vary from
> run-to-run and the [Test APIC] page detects incorrect APICs being returned
> meaning that the threads are still not running on the appropiate processor.

Alexandre committed a variant of my patches today.  Would you mind retrying
with today's git?

If it still doesn't work for you, please check whether HAVE_SCHED_SETAFFINITY
is defined in include/config.h.  If it isn't defined, configure isn't finding
the function on your system.  If it is, then the Linux call isn't doing what
it's supposed to (and it's a Linux bug rather than a Wine one.)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list