Re: [PATCH v4 2/3] eal: implement functions for get/set thread affinity

2022-05-01 Thread Dmitry Kozlyuk
2022-04-26 00:50 (UTC-0700), Tyler Retzlaff: > Implement functions for getting/setting thread affinity. > Threads can be pinned to specific cores by setting their > affinity attribute. > > Windows error codes are translated to errno-style error codes. > The possible return values are chosen so tha

[PATCH v4 2/3] eal: implement functions for get/set thread affinity

2022-04-26 Thread Tyler Retzlaff
Implement functions for getting/setting thread affinity. Threads can be pinned to specific cores by setting their affinity attribute. Windows error codes are translated to errno-style error codes. The possible return values are chosen so that we have as much semantic compatibility between platform