19 Feb
2010
19 Feb
'10
3:42 a.m.
On Thu, Feb 18, 2010 at 8:29 PM, Andrew Nguyen <arethusa26(a)gmail.com> wrote:
On Thu, Feb 18, 2010 at 8:51 PM, Erich Hoover <ehoover(a)mines.edu> wrote:
... The attached patch adds a test for SetThreadAffinityMask(thread,-1), which succeeds on Windows Vista and newer. ...
The test shouldn't query the Windows version explicitly. Instead, the older return value on pre-Vista version should be denoted by the broken() macro.
Then the test could only be triggered in Wine. What if this "feature" gets removed again in some later version of Windows? Erich Hoover ehoover(a)mines.edu