The two common pthread extensions pthread_getaffinity_np(pthread_t thread, size_t cpusetsize, cpu_set_t cpuset) and pthread_setaffinity_np(pthread_t thread, size_t cpusetsize, const cpu_set_t cpuset) aren't implemented.
I believe these can be implemented in terms of GetThreadGroupAffinity and SetThreadAffinityMask.
Hi Jason,
yes we could use 'SetThreadAffinityMask' API to implement it. Of course API needs to be resolved dynamically as it is just available for Windows 7 and above.