http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #51 from Juan Lang juan_lang@yahoo.com 2009-09-30 20:00:10 --- Now I'm just confused. I added traces to wineserver, and it reports that sched_setaffinity succeeds, and that sched_getaffinity returns the same affinity mask that I set. So perhaps it is a problem with the thread not getting rescheduled.
One difference between the wine environment and my test program is that in wine, the server is a different process than the program who's requesting an affinity change. So maybe an affinity change, while valid, doesn't take effect immediately?