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

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 30 04:57:09 CDT 2009


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





--- Comment #19 from ray at pobox.co.uk  2009-09-30 04:57:08 ---
(In reply to comment #16)
> I sent an updated patch series to fix this, starting with this one:
> http://www.winehq.org/pipermail/wine-patches/2009-September/079014.html

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.
$ wine art 
ART - CPU-1   +++ SetThreadAffinityMask(  0x00000002 ) Test Fail - Enabled 
Mask 0x00000001

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.

I did these tests on an ubunto linux 2.6.28-15 host system with a two core CPU.

-- 
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