http://bugs.winehq.org/show_bug.cgi?id=23509
Summary: SetThreadAffinityMask() regression in Wine 1.2-rc6 Product: Wine Version: 1.2-rc6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: bstriker@ya.ru
SetThreadAffinityMask() regression spotted in Wine 1.2-rc6. The bug 19982 was fixed one day, but it returned back in RC6. Test utility can be downloaded here: http://rh-software.com/downloads/siv.zip Normally the command: $ wine siv -save=[processors]=stdout -nodriver 2> /dev/null | egrep "(CPU-|IC G)" returns output: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |C| CPU-1 0 1 0 0001 0 1 0x00000002 3.17GHz but sometimes it returns: MPS MCP HTT APIC G N Affinity Speed Processors |P| CPU-0 0 0 0 0000 0 0 0x00000001 3.17GHz |P| CPU-1 0 0 0 0000 0 1 0x00000002 3.17GHz which is incorrect.