http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #59 from Juan Lang juan_lang@yahoo.com 2009-10-08 17:12:00 --- I tried fixing this by using the pthread_setaffinity_np function instead, but didn't succeed. There were two issues:
1. It can only be done by the calling process, not by the wineserver, because a pthread_t only has meaning within the current process, not in a separate process. This means it can't work in all cases in which it works in Windows. 2. pthread_setaffinity_np crashed when I tried to use it.
I can attach the patches I wrote if anyone's interested, but I'm currently at a loss with this one, and don't think I'll be putting more time into it.