http://bugs.winehq.org/show_bug.cgi?id=19982
--- Comment #7 from Juan Lang juan_lang@yahoo.com 2009-09-09 12:52:50 --- (In reply to comment #6)
It also doesn't compile on MacOS, but as far as I know there isn't a similar system call there anyway.
Correcting myself: there is a MacOS API for setting thread affinity[1]. Its programming model is rather different than in Windows/Linux, so mapping between the two would be a challenge. Still, I'm curious whether the attached patch works for you (under Linux.)
[1] http://developer.apple.com/mac/library/releasenotes/Performance/RN-AffinityA...