HardwareInformation icon indicating copy to clipboard operation
HardwareInformation copied to clipboard

Fix threadAffinity setting on MacOS

Open L3tum opened this issue 5 years ago • 1 comments

L3tum avatar Oct 18 '19 11:10 L3tum

MacOS does not expose a POSIX compliant thread affinity interface. While it's theoretically possible to make an adhoc wrapper around the OSX interface to more closely resemble the POSIX interface, the necessity to include the pthread_t instead of a "simple" pid makes it very hard. For now, since most systems are still homogenous, the call will not actually set the affinity

L3tum avatar Oct 18 '19 11:10 L3tum