[Bug 19982] SetThreadAffinityMask() seems not to work correctly
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Oct 8 17:12:01 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #59 from Juan Lang <juan_lang at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list