http://bugs.winehq.org/show_bug.cgi?id=19982 --- Comment #52 from Juan Lang <juan_lang(a)yahoo.com> 2009-09-30 20:03:58 --- (In reply to comment #49)
I think having a simple program to test this would be a good move. Looking in the Windows API I would like to use GetCurrentProcessorNumber() which returns the zero based CPU number. It's new in Vista and not in Wine. Having this would be very helpful, what is the best way to get it added to Wine ? Is there a Linux API that will do this ?
Implementing it, and sending a patch to wine-patches, is the best way to get it added. You could call sched_getcpu() if it's available.
If this is a Linux bug then can it we worked around ? I am wondering if doing a sched_yield() or similar after the affinity has been set would trigger a switch to the appropriate CPU.
Thanks for the suggestion. I tried that, but no such luck. -- 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.