http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #19 from ray@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.