http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #34 from Juan Lang juan_lang@yahoo.com 2009-09-30 16:05:51 --- (In reply to comment #24)
If the process affinity is 0x05 and I try and set a thread affinity of 0x03 this should fail and this will not be the case with the above code.
I sent an improved patch that fixes this: http://www.winehq.org/pipermail/wine-patches/2009-September/079213.html